Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hello
command
Package main is an example CLI built with cobra-util.
|
Package main is an example CLI built with cobra-util. |
|
Package cobrautil provides the pieces every CLI of ours needs on top of spf13/cobra: the process entry point, the wiring of a root command to that entry point, and environment variable sources for flags.
|
Package cobrautil provides the pieces every CLI of ours needs on top of spf13/cobra: the process entry point, the wiring of a root command to that entry point, and environment variable sources for flags. |
|
Package docs implements the docs command of CLIs built with spf13/cobra, which lists and outputs the documents embedded in the binary so that a coding agent can read them before answering questions about the CLI or troubleshooting its errors.
|
Package docs implements the docs command of CLIs built with spf13/cobra, which lists and outputs the documents embedded in the binary so that a coding agent can read them before answering questions about the CLI or troubleshooting its errors. |
|
Package helpall implements the help-all command of CLIs built with spf13/cobra, which writes the help of every command as Markdown so that it can be put into the documentation.
|
Package helpall implements the help-all command of CLIs built with spf13/cobra, which writes the help of every command as Markdown so that it can be put into the documentation. |
|
Package jsonschema implements the json-schema command of CLIs built with spf13/cobra, which outputs the JSON Schema of the configuration file so that editors such as VSCode can complete the configuration file and warn about invalid settings.
|
Package jsonschema implements the json-schema command of CLIs built with spf13/cobra, which outputs the JSON Schema of the configuration file so that editors such as VSCode can complete the configuration file and warn about invalid settings. |
|
keyring
|
|
|
ghtoken
Package ghtoken implements the commands managing a GitHub Access token in the keyring of the operating system, and the oauth2 token source reading it back.
|
Package ghtoken implements the commands managing a GitHub Access token in the keyring of the operating system, and the oauth2 token source reading it back. |
|
Package vcmd implements the version command of CLIs built with spf13/cobra.
|
Package vcmd implements the version command of CLIs built with spf13/cobra. |
Click to show internal directories.
Click to hide internal directories.