Documentation
¶
Overview ¶
Package cli implements the command-line interface for aenv.
Run parses the command line and dispatches a subcommand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Eval ¶
type Eval struct {
// contains filtered or unexported fields
}
Eval is the eval subcommand.
type Namespace ¶
type Namespace struct {
// Namespace names the environment to generate.
Namespace string `arg:""`
// Args pass to the generator.
Args []string `arg:"" optional:"" name:"args" help:"Namespace arguments."`
// contains filtered or unexported fields
}
Namespace is the environment subcommand. It takes a namespace name; extra args pass to the generator.
type Version ¶
type Version struct {
// Semantic prints the semantic version.
Semantic bool `help:"Print only the semantic version." short:"s" xor:"version-output"`
// URL prints the project URL.
URL bool `help:"Print the project URL." xor:"version-output"`
// Repo prints the repository URL.
Repo bool `help:"Print the repository URL." xor:"version-output"`
// License prints the license.
License bool `help:"Print the license." xor:"version-output"`
}
Version is the version subcommand. All flags are mutually exclusive.
Click to show internal directories.
Click to hide internal directories.