Documentation
¶
Index ¶
Constants ¶
View Source
const LogToStderr = "--use-stderr"
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigPath ¶
Types ¶
type Config ¶
type Config struct {
// path to executables
FzfPath string `json:"fzf-path"`
// path to use for a log file
LogFile string `json:"log-file"`
// Name of the remote to use
Selected string `json:"selected-remote"`
// configs for all defined remote
Remotes map[string]map[string]any `json:"remotes-configs"`
// Providers in the blacklist will not be used
Blacklist []string `json:"providers-blacklist"`
// configs for all defined provider
Providers map[string]map[string]any `json:"providers-config"`
// path to the config file: not saved
ConfigFile string `json:"-"`
}
func LoadConfig ¶
func LoadConfigAt ¶
Click to show internal directories.
Click to hide internal directories.