Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
Types ¶
type Config ¶
type Config struct { ID string `toml:"client_id" comment:"The $LIBMAN_ID will override this field if set."` Secret string `toml:"client_secret" comment:"The $LIBMAN_SECRET will override this field if set."` RedirectURI string `toml:"redirect_uri" comment:"The $LIBMAN_REDIRECT_URI will override this field if set."` CacheFile string `` /* 131-byte string literal not displayed */ RCFile string `toml:"libmanrc_path" comment:"The location of the startup script file. $LIBMAN_RC_PATH overrides this field if set."` HistFile string `` /* 132-byte string literal not displayed */ DataHome string `` /* 163-byte string literal not displayed */ HistSize int `toml:"history_size" comment:"History size, applies to artist/album/track/playlist history independently." default:"66"` Prompt string `toml:"prompt" comment:"The libman shell prompt." default:"@libman>"` ConfigPath string `toml:"-"` }
func DefaultConfig ¶
func DefaultConfig() Config
Click to show internal directories.
Click to hide internal directories.