open-index/open-npm huggingface dataset:
npm package: @in2cloud/in2cloud-cli
Description: in2cloud command line
Author: in2cloud
Latest version: 0.0.55

# in2cloud Command Line Tool

## How to use

- Install package globally: `npm i -g @in2cloud/in2cloud-cli`
- Run `in2cloud-cli`
- Global options:
  - `key`: your API key. Get one from in2cloud. Example: `in2cloud-cli --key 123`
  - `endpoint`: in2cloud API endpoint. If not provided, the default one will be used. 
    Example `in2cloud-cli --endpoint https://someurl.api`

### Available commands
- `validate`: validates IVR definition specified in in2cloud DSL. 
  Run `in2cloud-cli --key <apiKey> validate --flow <flowId> '<source>'`. Where:
    - `flow` id of the main entry flow 
    - `source` path to DSL files in [glob](https://en.wikipedia.org/wiki/Glob_(programming)) format
- `deploy`: deploys IVF definition to a specified AWS Connect instance.
  Run `in2cloud-cli --key <apiKey> deploy --flow <flowId> --region <region> --instance <instance> '<source>'`. Where:
    - `flow` id of the main entry flow
    - `region` AWS Connect region
    - `instance` AWS Connect instance
    - `source` path to DSL files in [glob](https://en.wikipedia.org/wiki/Glob_(programming)) format

### Tutorial
For more information, see repository with [examples](https://github.com/in2cloud/dsl-example/blob/master/README.md)