Versions in this module Expand all Collapse all v1 v1.0.0 May 31, 2023 Changes in this version + const ConfigFlagName + const DefaultConfigName + var CfgFile string + var DefaultConfig = GlobalOptions + func GetCommonRunFunc(o Options) func(cmd *cobra.Command, args []string) + func LoadConfigFile(configFile string, opt *GlobalOptions) + func SetConfigEnv() + type ClientOptions = client.Options + type GlobalOptions struct + Client ClientOptions + Stream StreamOptions + func (o GlobalOptions) Validate() error + type Options interface + Complete func() error + GetDefaultFormat func() formatter.Format + GetPromptArgs func() ([]string, error) + GetPromptOptions func() error + Run func(args []string) error + Validate func() error + type StreamOptions struct + ErrorOutput io.Writer + Input io.Reader + Output io.Writer + OutputFormat formatter.Format + func (o StreamOptions) Validate() error