Prime
The qaskx-cli setup prime command is used to create the rediOps and qaskx-cli configurations
for an existing project. No existing files are overwritten.
The command help is shown below.
Usage: qaskx-cli setup prime [--parent=<directory>] [--remote=<remote host>][-v | --vv | --vvv | --silent] [-c=<conf file>] [--colourCLI] [--offline] [--env=<environment file>]
The setup prime command is for adding a qaskx-cli configuration and directories
to the project. Existing configurations can also be mapped to equivalent qaskx-cli
settings.
For more details see the documentation at https://docs.qaskx.one/qaskx-cli/cmd/setup/prime/ .
Options:
-p, --parent Parent (or root) directory for project plus rediOps (devops.json) file
--remote Remote host for setup templates
-v, --verbose Verbose logging
--vv Verbose logging level 3
--vvv Verbose logging level 5
--silent Silent running
--colourCLI Colour terminal and command line (env $QASKX_COLOUR_CLI)
-c, --conf Configuration file (env $QASKX_CONFIG_FILE)
--offline Offline mode (env $QASKX_OFFLINE)
--env Environment file to use (default ".env")
Details
The purpose of the command is to create your default rediOps and qaskx configuration and settings within an existing project.
If no parent directory is supplied then the command walks the directory structure looking for the VCS folder (.git) or other attributes to determine where the project root is.
If you do not have an existing project including clone from a VCS, then you should use the
qaskx-cli generate project command.
An alternative command for new projects is qaskx-cli setup init