Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigPath ¶
func ShouldUseInteractive ¶
func ValidateConfig ¶
Types ¶
type Config ¶
type Config struct {
Language string `json:"language,omitempty"`
Time timequery.Spec `json:"time,omitempty"`
Format string `json:"format,omitempty"`
OutputFile string `json:"output,omitempty"`
RepoPath string `json:"repo,omitempty"`
ReposPath string `json:"repos,omitempty"`
Provider string `json:"provider,omitempty"`
BaseURL string `json:"base_url,omitempty"`
APIKey string `json:"api_key,omitempty"`
Model string `json:"model,omitempty"`
Author string `json:"author,omitempty"`
Prompt string `json:"prompt,omitempty"`
Interactive bool `json:"interactive,omitempty"`
ConfigPath string `json:"-"`
NoConfig bool `json:"-"`
SaveAsDefault bool `json:"-"`
}
Config is the unified runtime configuration.
func DefaultConfig ¶
func DefaultConfig() Config
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.