New
The command help is shown below.
Usage: qaskx-cli rediops new [-d=<devops file path>] [-b] [--vcs] [-p=<parent dir>] [--vn=<name of VCS>] [--token=<value>] [--overwrite] [-v | --vv | --vvv | --silent] [-c=<conf file>] [--colourCLI] [--offline] [--env=<environment file>]
The rediops new command is for creating a new devops.json file
which adheres to the rediOps definitions. The file by default resides
in the .well-known directory.
If the devops.json file path and name is not defined then the command
will search for the .well-known directory and attempt to create the file
in that directory.
Optionally the command can create a VCS (git) repository. The details of the
template VCS repo are obtained from the configuration file specified or .qaskx file
The VCS repo function here calls the same routine under "generate vcs" command
For more details see the documentation at https://docs.qaskx.one/qaskx-cli/cmd/rediops//new/ .
Options:
-d, --devops rediOps (devops.json) file path
-b, --bare Create a bare rediOps (devops.json) definition, without configuration file input
--vcs Create a version control system (VCS) repo, such as Git
-p, --parent Parent (or root) directory for project plus rediOps (devops.json) file
--overwrite Overwrite existing content
--vn The name of the version control system repository within the server
--token VCS access token (env $QASKX_VCS_TOKEN)
-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 qaskx-cli rediops new subcommand is used to create a basic rediOps file named devops.json
in the project .well-known directory.
Once the file is created you can modify it to suit your needs.