Resolve "Allow use of environment variable for storing access token"
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
andCONFIGPATH
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.