Skip to content

Resolve "Allow use of environment variable for storing access token"

Niall McDaid requested to merge 20-allow-use-of-environment-variables into main

Closes #20 (closed)

I have removed the need for the base url, token and path to config file to be set as an option for each command.

  • base_url is now set within the configuration file
  • OSDUTOKEN and CONFIGPATH environment variables are now used as default values if the user does not provide one

I have also added a validation check to catch the case in which a user has not set an environment variable or provided the value as a command option.

Merge request reports

Loading