Environment variables
The config file
The file is optional. When it exists, it looks like this:defaultnames the profile to use when nothing else chooses one. It is optional.profilesmaps a name to settings. Each profile may setapiUrl. Nothing else is read from a profile.- The file must not contain tokens. The CLI does not read a token from it.
Choosing the API address
The first of these that is set wins:--api-url <url>on the command line.PARMANA_API_URL.- The
apiUrlof the chosen profile. - The production address,
https://parmana-api-real.vercel.app.
Choosing the profile
The first of these that is set wins:--profile <name>on the command line. If the name is not in the config file, the command stops.PARMANA_PROFILE.- The
defaultin the config file.
Address rules
An address must behttps. The one exception is a local address, http://127.0.0.1 or http://localhost, for development against a local server. Trailing slashes are removed.
Timeouts
Each request waits 30 seconds by default. Change it with--timeout <seconds>, for example --timeout 60. The value must be a positive number.