If the AUTH_TOKEN environment variable is null, and no --auth-token is supplied as a command line argument, the API requests requiring auth token authentication will fail with a 403 error. For these commands, we should locally validate that either the AUTH_TOKEN environment variable or the --auth-token command line argument is provided. And print a message that none was provided instead of making the request without it.
If the
AUTH_TOKENenvironment variable is null, and no--auth-tokenis supplied as a command line argument, the API requests requiring auth token authentication will fail with a 403 error. For these commands, we should locally validate that either theAUTH_TOKENenvironment variable or the--auth-tokencommand line argument is provided. And print a message that none was provided instead of making the request without it.