Client

The qaskx-cli generate client command is used to generate client code based on the OpenAPI service specified as a parameter or in the **rediOps" devops.json file. The client program would then normally connect to the server program that can also be generated.

The generated code is not complete and it may not compile without the addition of custom code. Some generators can be re-run and others not so please ensure that your code is managed under a version control system and you have committed recent changes before running the generate command.

The command help is shown below.

Usage: qaskx-cli generate client [-d=<Devops file path>] [-n=<name>] -o=<output dir> [-t=<template location>] [--token=<value>] [--overwrite][-v | --vv | --vvv | --silent] [-c=<conf file>] [--colourCLI] [--offline] [--env=<environment file>]

The generate client command creates client code.

The template along wth the .qaskx definition
determines the code language and features that
are generated.

You can select whether to overwrite any existing 
code or not.  If you are executing over existing
code please commit your current changes.

The process uses the OpenAPI, rediOps and local 
.qaskx definition as sources of variables.

For more details see the documentation at https://docs.qaskx.one/qaskx-cli/cmd/generate/client/ .
                    
Options:            
  -d, --devops      rediOps (devops.json) file path
  -n, --name        Client application name
  -o, --output      Output directory for generated code
      --overwrite   Overwrite existing code
  -t, --template    Template local directory or VCS server resource (env $QASKX_TEMPLATE_FOLDER)
      --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")