Documentation
¶
Index ¶
- type ConfigCmd
- func (c *ConfigCmd) Delete(config string, key string) error
- func (c *ConfigCmd) Execute(_ context.Context, fs *flag.FlagSet, _ ...interface{}) scmd.ExitStatus
- func (c *ConfigCmd) Get(config string, key string) (*string, error)
- func (c *ConfigCmd) Name() string
- func (c *ConfigCmd) Set(config string, key string, value string) error
- func (c *ConfigCmd) SetFlags(fs *flag.FlagSet)
- func (*ConfigCmd) Synopsis() string
- func (c *ConfigCmd) Usage() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigCmd ¶
type ConfigCmd struct {
// Name of your CLI
Pkg string
// If there are multiple configs managed by this tool, set Many to be the name
// of the parameter over those configs (e.g. Many = "project" or Many = "repo")
Many string
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.