Versions in this module Expand all Collapse all v1 v1.0.2 Jun 26, 2024 Changes in this version + func FlagErrorFunc(cmd *cobra.Command, err error) error + func NoArgs(cmd *cobra.Command, args []string) error + func RequiresMinArgs(min int) cobra.PositionalArgs + func SetupRootCommand(rootCmd *cobra.Command) *cliflags.ClientOptions + func VisitAll(root *cobra.Command, fn func(*cobra.Command)) + type Errors []error + func (errList Errors) Error() string + type StatusError struct + Status string + StatusCode int + func (e StatusError) Error() string + type TopLevelCommand struct + func NewTopLevelCommand(cmd *cobra.Command, dockerCli *cmd.SudockerCli, opts *cliflags.ClientOptions, ...) *TopLevelCommand + func (tcmd *TopLevelCommand) HandleGlobalFlags() (*cobra.Command, []string, error) + func (tcmd *TopLevelCommand) Initialize(ops ...cmd.CLIOption) error + func (tcmd *TopLevelCommand) SetArgs(args []string) + func (tcmd *TopLevelCommand) SetFlag(name, value string) v1.0.1 May 13, 2024