Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶
func DefaultPath() string
DefaultPath returns the config file location, respecting XDG_CONFIG_HOME.
Types ¶
type Config ¶
type Config struct {
Dotfiles DotfilesConfig `toml:"dotfiles"`
}
Config holds user-level crib settings from ~/.config/crib/config.toml.
type DotfilesConfig ¶
type DotfilesConfig struct {
Repository string `toml:"repository"`
TargetPath string `toml:"targetPath"`
InstallCommand string `toml:"installCommand"`
}
DotfilesConfig configures dotfiles repository cloning and installation.
Click to show internal directories.
Click to hide internal directories.