cli

package
v0.0.0-...-113f59a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package cli provides the skeleton of a CLI for building release packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CLI

func CLI(getTargets func() ([]dist.Target, error)) *ffcli.Command

CLI returns a CLI root command to build release packages.

getTargets is a function that gets run in the Exec function of commands that need to know the target list. Its execution is deferred in this way to allow customization of command FlagSets with flags that influence the target list.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL