2.5 Print
The qaskx-cli setup print --help command allows the display of various configuration and command options.
A useful tag is the environment value. This prints a list of environment variables
that are recognised within the qaskx-cli command parsing.
Execute the below command to list the environment variable names and a short description.
qaskx-cli setup print --tag environment --silent
Your results should be something like (excluding the leading timestamp):
Environment variables for commands are:
QASKX_CONFIG_FILE - config file path current value: ''
QASKX_SERVERCONFIG_FILE - server config file path current value: ''
QASKX_LOGO - logo display or silent 0/1 current value: ''
QASKX_COLOUR_CLI - use terminal colours 0/1 current value: ''
QASKX_BARE_CLI - bare CLI 0/1 current value: ''
QASKX_MAPPING_FILE - mapping configuration file current value: ''
QASKX_VCS_PASSwORD - VCS password value
QASKX_VCS_TOKEN - VCS token value such as used by Github
QASKX_TEMPLATE_FOLDER - template folder location current value: ''
QASKX_OFFLINE - offline 0/1 current value: ''
Details
The meanings of the environment variables are:
| Variable | Contains | Value |
|---|---|---|
| QASKX_CONFIG_FILE | Project configuration file | File path to a configuration file |
| QASKX_LOGO | Display logo (default true) | 0 or 1 |
| QASKX_COLOUR_CLI | Use colour on console (default false) | 0 or 1 |
| QASKX_MAPPING_FILE | File used for mapping | File path to a mapping file |
| QASKX_VCS_TOKEN | VCS (git) token value used to access the remote repository | Any valid string value |
| QASKX_TEMPLATE_FOLDER | Directory name containing templates to use | Directory path to template folder |
| QASKX_OFFLINE | Operate in offline mode ( default false). This excluudes any user supplied or template scripts | 0 or 1 |