Documentation
¶
Index ¶
- func DefaultDir() (string, error)
- func DefaultPath() (string, error)
- func ResolveAIKey(cfg *Config, flagKey string) string
- func ResolveEmbeddingKey(cfg *Config, flagKey string) string
- func ResolveToken(cfg *Config, flagToken string) string
- func ResolveWebDAVPassword(cfg *Config) string
- type AIConfig
- type Config
- type EmbeddingConfig
- type GenerateConfig
- type GitHubConfig
- type PreviewConfig
- type StarsKeybindings
- type TUIConfig
- type TUIKeybindings
- type UniversalKeybindings
- type WebDAVConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDir ¶
func DefaultPath ¶
func ResolveAIKey ¶
func ResolveEmbeddingKey ¶ added in v0.0.6
func ResolveToken ¶
func ResolveWebDAVPassword ¶
Types ¶
type Config ¶
type Config struct {
GitHub GitHubConfig `yaml:"github"`
AI AIConfig `yaml:"ai"`
Embedding EmbeddingConfig `yaml:"embedding"`
WebDAV WebDAVConfig `yaml:"webdav"`
Generate GenerateConfig `yaml:"generate"`
TUI TUIConfig `yaml:"tui"`
}
type EmbeddingConfig ¶ added in v0.0.6
type GenerateConfig ¶
type GenerateConfig struct {
Sort string `yaml:"sort"`
}
type GitHubConfig ¶
type PreviewConfig ¶ added in v0.0.17
type StarsKeybindings ¶ added in v0.1.0
type TUIConfig ¶ added in v0.0.17
type TUIConfig struct {
Preview PreviewConfig `yaml:"preview"`
DefaultView string `yaml:"default_view"`
ConfirmQuit bool `yaml:"confirm_quit"`
Theme string `yaml:"theme"`
Keybindings TUIKeybindings `yaml:"keybindings"`
}
type TUIKeybindings ¶ added in v0.1.0
type TUIKeybindings struct {
Universal UniversalKeybindings `yaml:"universal"`
Stars StarsKeybindings `yaml:"stars"`
}
type UniversalKeybindings ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.