Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // HomePath - path to store the configuration files, this path is set by default based on the operating system type // and your user's home directory. Typically, this is set to $HOME/.distillery HomePath string `yaml:"home_path" toml:"home_path"` // BinPath - path to create symlinks for your binaries, this path is set by default based on the operating system type // This is the path that is added to your PATH environment variable. Typically, this is set to $HOME/.distillery/bin BinPath string `yaml:"bin_path" toml:"bin_path"` // OptPath - path to store the binaries that are installed, this path is set by default based on the operating // system type. This is where the symlinks in the BinPath point to. Typically, this is set to $HOME/.distillery/opt OptPath string `yaml:"opt_path" toml:"opt_path"` // CachePath - path to store cache files, this path is set by default based on the operating system type CachePath string `yaml:"cache_path" toml:"cache_path"` // DefaultSource - the default source to use when installing binaries, this defaults to GitHub DefaultSource string `yaml:"default_source" toml:"default_source"` // AutomaticAliases - automatically create aliases for any binary that is installed AutomaticAliases bool `yaml:"automatic_aliases" toml:"automatic_aliases"` // Aliases - Allow for creating shorthand aliases for source locations that you use frequently. A good example // of this is `distillery` -> `ekristen/distillery` Aliases map[string]string `yaml:"aliases" toml:"aliases"` // Language - the language to use for the output of the application Language string `yaml:"language" toml:"language"` }
func (*Config) GetCachePath ¶
func (*Config) GetDownloadsPath ¶
func (*Config) GetMetadataPath ¶
Click to show internal directories.
Click to hide internal directories.