Documentation
¶
Overview ¶
Package cmd is the dispatcher for the climax CLI. It registers all commands and routes incoming arguments to the matching command implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run parses args and dispatches to the matching command. args must not include the executable name (pass os.Args[1:]).
Every flag can be set via a CLIMAX_-prefixed environment variable. The mapping rule is: prepend CLIMAX_, uppercase, replace dashes with underscores. All flags are subcommand-specific; see each subcommand's --help
Flags supplied on the command line always take precedence over env vars.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package add implements the "add" CLI command.
|
Package add implements the "add" CLI command. |
|
Package initialize implements the "init" CLI command.
|
Package initialize implements the "init" CLI command. |
|
Package lint implements the "lint" command.
|
Package lint implements the "lint" command. |
|
Package mango implements the "mango" CLI command.
|
Package mango implements the "mango" CLI command. |
|
Package root defines the root configuration for the CLI.
|
Package root defines the root configuration for the CLI. |
|
Package update implements the "update" command.
|
Package update implements the "update" command. |
|
Package version implements the "version" CLI command.
|
Package version implements the "version" CLI command. |
Click to show internal directories.
Click to hide internal directories.