Documentation ¶
Overview ¶
Package config is repsonsible for setting and returning the current state of the shell in regards to configuration flags and mode options
Index ¶
- func AddAlias(name, command string) error
- func AliasIsCyclic(alias Alias) bool
- func GetAPIDriver() string
- func GetDebug() bool
- func GetExperimental() bool
- func RemoveAlias(name string) error
- func SetDebug(enabled bool)
- func SetExperimental(enabled bool)
- func SetPrintMode(printMode PrintMode)
- type Alias
- type Config
- type PrintMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AliasIsCyclic ¶
AliasIsCyclic is a check to ensure that the aliases do not form an infinite loop
func GetAPIDriver ¶
func GetAPIDriver() string
func GetExperimental ¶
func GetExperimental() bool
func SetExperimental ¶
func SetExperimental(enabled bool)
func SetPrintMode ¶
func SetPrintMode(printMode PrintMode)
SetPrintMode assigns .CurrentPrintMode on the current config struct
Types ¶
Click to show internal directories.
Click to hide internal directories.