read_config: Reads the GoFigr configuration, prioritizing environment variables over the
config file:
Description
* GF_USERNAME or config["username"]
* GF_PASSWORD or config["password"]
* GF_API_KEY or config["api_key"]
* GF_WORKSPACE or config["workspace"]
* GF_URL or config["url"]
Usage
read_config(path = CONFIG_PATH)
Value
parsed configuration or empty list if not available
Arguments
- path
path to the config file, default ~/.gofigr