Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFlags ¶
func RegisterFlags(cfg *Config)
RegisterFlags binds CLI flags to the supplied Config.
Types ¶
type Config ¶
type Config struct {
Version string
Commit string
BuildDate string
OpencodeServerURL string
BackendProvider string
InitConfig bool
NoConfig bool
ClearHistory bool
ShowVersion bool
ShowDoctor bool
}
Config holds every runtime tunable. All fields have sensible defaults.
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns a Config populated with built-in defaults.
Click to show internal directories.
Click to hide internal directories.