@ -20,27 +20,37 @@ type TypeCommand struct {
@@ -20,27 +20,37 @@ type TypeCommand struct {
// Config holds user-configurable values
typeConfigstruct{
filepathstring`toml:"-"`
filepathstring`toml:"-"`// filepath is not stored in the config file, but is written to the Config struct so it's known where the config was loaded from
BasicsBasics`toml:"basics"`
FormattingFormatting`toml:"formatting"`
ColorsColors`toml:"colors"`
}
// Basics holds the 'basics' section of the config file
typeBasicsstruct{
DownloadPathstring`toml:"downloadPath"`
DownloadPathstring`toml:"download_path"`
Colorlessbool`toml:"colorless"`
CmdPrefixstring`toml:"cmdPrefix"`
CmdPrefixstring`toml:"cmd_prefix"`
}
// Formatting holds the 'formatting' section of the config file