Files
faas-cli/config
Lucas Roesler d8c8e342c2 Allow configuration of CLI config via env variables
**What**
- Support configuration the faas-cli configuration directory path via
  the `OPENFAAS_CONFIG` env variable. When this value is set, the path
  will be overridden. When empty, we will also check the CI flag, which
  defaults the location to the current working directory. When neither
  `OPENFAAS_CONFIG` or `CI` are set, then the default location is in
  the current HOME folder.
- Various tests have been updated to use this new env variable instead
  of modifying the global variables. Also, the variables are now
  constants to prevent this kind of modiication in general.

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2020-11-11 17:30:50 +00:00
..