Documentation
¶
Index ¶
- type Config
- func (config Config) GetConfigCLI() Config
- func (config Config) GetQuiet() bool
- func (config Config) GetTodo() bool
- func (config Config) GetVerbose() bool
- func (config Config) IsDryRun() bool
- func (config *Config) SetDryRun(v bool)
- func (config *Config) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Debug debug.Options
Verbose bool
Quiet bool
Todo bool
// CustomOut and CustomErr override os.Stdout/os.Stderr when set.
// Used by MCP handlers to capture command output into buffers.
CustomOut io.Writer `toml:"-"`
CustomErr io.Writer `toml:"-"`
// contains filtered or unexported fields
}
func (*Config) SetFlagDefinitions ¶
func (config *Config) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
Source Files
¶
- main.go
Click to show internal directories.
Click to hide internal directories.