[−][src]Module phetch::config
phetch will load ~/.config/phetch/phetch.conf
or a file you
specify with the --config
command line option when it starts.
An example default config is provided but unused by this module.
Structs
Config | Not all the config options are available in the phetch.conf. We also use this struct to keep track of our session's overall state, such as the UI mode (Print, Run, Raw, etc). |
Constants
DEFAULT_CONFIG | Example of what a default phetch.conf would be. |
Functions
default | Returns the config phetch uses when launched with no flags or config file modification. |
exists | Does the config file exist? |
load | Attempt to load ~/.config/phetch/phetch.conf from disk. |
load_file | Attempt to load a config from disk. |
parse | Parses a phetch config file into a Config struct. |