Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindConfigFile ¶
Types ¶
type Config ¶
type Config struct {
Endpoint string `env:"CLAI_ENDPOINT" cli:"endpoint" usage:"The API endpoint to use"`
Token string `env:"CLAI_TOKEN" cli:"token" usage:"The API token to use"`
Model string `env:"CLAI_MODEL" cli:"model" usage:"The model to use"`
Shell string `env:"CLAI_SHELL" cli:"shell" usage:"The target shell to generate commands for, empty for current shell"`
OS string `env:"CLAI_OS" cli:"os" usage:"The target OS to generate commands for, empty for current OS"`
Phrase string `arg:"1"`
}
Click to show internal directories.
Click to hide internal directories.