Documentation ¶
Index ¶
- Variables
- func InitCommand(c *cli.Context) error
- func LoginCommand(c *cli.Context) error
- func LogoutCommand(c *cli.Context) error
- func MergeCommands(cmds ...[]*cli.Command) []*cli.Command
- func MergeFlags(flags ...[]cli.Flag) []cli.Flag
- func NoOpCommand(c *cli.Context) error
- func WithAuthCommands() []*cli.Command
- func WithGlobalFlags() []cli.Flag
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidNumArguments indicates that the number of arguments in a command is not valid ErrInvalidNumArguments = errors.New("invalid number of arguments") )
Functions ¶
func InitCommand ¶
func InitCommand(c *cli.Context) error
func LoginCommand ¶
func LoginCommand(c *cli.Context) error
func LogoutCommand ¶
func LogoutCommand(c *cli.Context) error
func MergeCommands ¶
func MergeCommands(cmds ...[]*cli.Command) []*cli.Command
MergeCommands merges all the arrays with CLI commands into one
func MergeFlags ¶
func MergeFlags(flags ...[]cli.Flag) []cli.Flag
MergeFlags merges all the arrays with CLI flags into one
func WithAuthCommands ¶
func WithAuthCommands() []*cli.Command
func WithGlobalFlags ¶
func WithGlobalFlags() []cli.Flag
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.