npm package: @shaztra/cli
Description: Shaztra CLI
Author: Shaztra @rajatkumar
Latest version: 0.1.1

Shaztra CLI
=================

Shaztra CLI is a command line interface for Shaztra. Use it for your CI/CD pipelines, or to manage your Shaztra projects.

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/oclif-hello-world.svg)](https://www.npmjs.com/package/@shaztra/cli)
[![Downloads/week](https://img.shields.io/npm/dw/oclif-hello-world.svg)](https://www.npmjs.com/package/@shaztra/cli)

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @shaztra/cli
$ shaztra COMMAND
running command...
$ shaztra (--version)
@shaztra/cli/0.1.1 darwin-x64 node-v16.14.2
$ shaztra --help [COMMAND]
USAGE
  $ shaztra COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`shaztra report plan RUNREPORTID`](#shaztra-report-plan-runreportid)
* [`shaztra report test RUNREPORTID`](#shaztra-report-test-runreportid)
* [`shaztra run plan`](#shaztra-run-plan)
* [`shaztra run test`](#shaztra-run-test)

## `shaztra report plan RUNREPORTID`

View Run Reports

```
USAGE
  $ shaztra report plan [RUNREPORTID] -a <value> -w <value> [-d | ]

ARGUMENTS
  RUNREPORTID  Run Report ID to view results for

FLAGS
  -a, --authToken=<value>    (required) Your auth token
  -d, --detailed             Show detailed view
  -w, --workspaceId=<value>  (required) Workspace identifier

DESCRIPTION
  View Run Reports

EXAMPLES
  $ shaztra report plan lHXnQ9aWlrKc2HoOICG6
  Run Report ID: lHXnQ9aWlrKc2HoOICG6
  Status: passed
```

## `shaztra report test RUNREPORTID`

View Run Reports

```
USAGE
  $ shaztra report test [RUNREPORTID] -a <value> -w <value> [-d | ]

ARGUMENTS
  RUNREPORTID  Run Report ID to view results for

FLAGS
  -a, --authToken=<value>    (required) Your auth token
  -d, --detailed             Show detailed view
  -w, --workspaceId=<value>  (required) Workspace identifier

DESCRIPTION
  View Run Reports

EXAMPLES
  $ shaztra report test lHXnQ9aWlrKc2HoOICG6
  Run Report ID: lHXnQ9aWlrKc2HoOICG6
  Status: passed
```

## `shaztra run plan`

Run Shaztra Plan

```
USAGE
  $ shaztra run plan -a <value> -w <value> [-i <value> | -t <value>] [-v <value>] [-r]

FLAGS
  -a, --authToken=<value>    (required) Your auth token
  -i, --id=<value>           Plan identifier to run
  -r, --waitForResults       Wait for results to be available
  -t, --tag=<value>...       Plan tag to run
  -v, --var=<value>...       Variables to use in the plan
  -w, --workspaceId=<value>  (required) Workspace identifier

DESCRIPTION
  Run Shaztra Plan

EXAMPLES
  $ shaztra run plan <plan-id>
  successfully triggered 1 runs
  Run Report ID: zfPLgxJ6lxPwwzILuQOi
  Status: running
```

## `shaztra run test`

Run Shaztra Test

```
USAGE
  $ shaztra run test -a <value> -w <value> [-i <value> | -t <value>] [-v <value>] [-r]

FLAGS
  -a, --authToken=<value>    (required) Your auth token
  -i, --id=<value>           Test identifier to run
  -r, --waitForResults       Wait for results to be available
  -t, --tag=<value>...       Test tag to run
  -v, --var=<value>...       Variables to use in the test
  -w, --workspaceId=<value>  (required) Workspace identifier

DESCRIPTION
  Run Shaztra Test

EXAMPLES
  $ shaztra run test <test-id>
  successfully triggered 1 runs
  Run Report ID: zfPLgxJ6lxPwwzILuQOi
  Status: running
```
<!-- commandsstop -->