Documentation
¶
Index ¶
- type Manager
- func (m *Manager) GetConfig() *config.Config
- func (m *Manager) GetFlags() (verbose int, dryRun, ultraCompact bool, queryIntent string, budget int)
- func (m *Manager) GetRootCmd() *cobra.Command
- func (m *Manager) GetVersion() string
- func (m *Manager) IsVerbose() bool
- func (m *Manager) SetConfig(cfg *config.Config)
- func (m *Manager) SetFlags(verbose int, dryRun, ultraCompact bool, queryIntent string, budget int)
- func (m *Manager) SetRootCmd(cmd *cobra.Command)
- func (m *Manager) SetVersion(v string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager consolidates all global state with single mutex
func (*Manager) GetFlags ¶
func (m *Manager) GetFlags() (verbose int, dryRun, ultraCompact bool, queryIntent string, budget int)
GetFlags returns current flag values
func (*Manager) GetRootCmd ¶
GetRootCmd gets the root command
func (*Manager) SetRootCmd ¶
SetRootCmd sets the root command
Click to show internal directories.
Click to hide internal directories.