Documentation
¶
Overview ¶
Package command implements the root command for the command line tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func (*Command) CobraCommand ¶
func (*Command) UpdateCommand ¶
func (*Command) VersionCommand ¶
type Config ¶
type Config struct { // Dependencies. Logger micrologger.Logger // Settings. Description string GitCommit string Name string Source string }
Config represents the configuration used to create a new root command.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig provides a default configuration to create a new root command by best effort.
Directories
¶
Path | Synopsis |
---|---|
Package update implements the update command for the command line tool.
|
Package update implements the update command for the command line tool. |
Package version implements the version command for the command line tool.
|
Package version implements the version command for the command line tool. |
Click to show internal directories.
Click to hide internal directories.