Skip to main content

Module config

Module config 

Source
Expand description

The Config module enables a configuration module Like a global API to access config details

Structs§

Config
Library input is the default API input The CLI turns its arguments into a LibraryInput struct The Config object is a default configuration object For the entire program It’s access using a variable like configuration

Functions§

get_config
Get the global config. This will return default config if the config wasn’t already initialized
set_global_config
To initialize global config with custom values