Get

The command help is shown below.

Usage: qaskx-cli rediops get -s=<section> [-d=<devops file path>] [--tag=<name>] [--platform=<platform>] [-f=<format>] [-o=<output file>] [-v | --vv | --vvv | --silent] [-c=<conf file>] [--colourCLI] [--offline] [--env=<environment file>]

The rediOps get command fetches the requested details from the definition
file.  The output can be used for execution or analytics.
			
The command can output the get results to the console or an output file

For more details see the documentation at https://docs.qaskx.one/qaskx-cli/cmd/rediops//get/ .

                    
Options:            
  -d, --devops      rediOps (devops.json) file path
  -s, --section     Definition section (e.g. ID,REPOSITORY,API,DEPENDENCY,BUILD)
      --tag         Definition identifier (default "*ANY")
      --platform    Platform for execution (default "windows")
  -o, --output      Output file name (default "CONSOLE")
  -f, --format      Output format [PRINT,TAB, CSV] (default "PRINT")
      --overwrite   Overwrite existing content
  -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 “get” subcommand is used to retrieve existing values in the rediOps file devops.json.

When using the command the –tag argument is used to match with existing data in the selected section specified by the –section value. If no tag is specified then all records in the selected section are returned.

List sections

You can list the available sections with the special –section value of *list

	      ______           ___           _______. __  ___ ___   ___ 
	     /  __  \         /   \         /       ||  |/  / \  \ /  / 
	    |  |  |  |       /  ^  \       |   (----`|  '  /   \  V  /  
	    |  |  |  |      /  /_\  \       \   \    |    <     >   <   
	    |  `--'  '--.  /  _____  \  .----)   |   |  .  \   /  .  \  
	     \_____\_____\/__/     \__\ |_______/    |__|\__\ /__/ \__\ 
																   															 
	
          qaskx-cli  - command line tool 
          version     - 0.0.5
          url         - https://docs.qaskx.one/qaskx-cli/
          copyright   - 2023 qaskx.one, usage license limited

QX>>> 2024/03/24 20:59:45 Main policy data missing from https://qaskx.one/policy/e8e4c58a-cdc9-4b7c-b2ec-991c736b0eb1/main_policy.json
QX>>> 2024/03/24 20:59:45 error in fetching list of sections

Details

The tag value is the identifier for the record, and is dependant on section.

The tag identifier fields by section are:

  1. REPOSITORY - the Name
  2. API - the Service identifier
  3. DEPENDENCY- the Service identifier
  4. BUILD - the Identifier
  5. TEST - the Identifier
  6. DEPLOY / INSTALL - the Identifier
  7. RELEASE - not applicable
  8. TOOL - the Service Identifier
  9. ID - not applicable
  10. BASE - not applicable
  11. GUIDES - not applicable