npm.io
1.8.11 • Published 2 months agoCLI

@xapp/cli

Licence
Apache-2.0
Version
1.8.11
Deps
38
Size
233 kB
Vulns
2
Weekly
0

xapp-cli

The command line interface for OC Studio from XAPP AI

Installation

$ npm i -g @xapp/cli

Configuration

You can configure the CLI to point to different OC Studio environments.

Recommended approach is to modify the configuration JSON file found at ~/.xapp/cli_config and then adding different profiles.

For example, if you want to add a profile called stentor, fill in the parameters under `

{
  "profiles": {
    "default": {},
    "stentor": {
      "basePath": "",
      "authPath": "",
      "clientId": "",
      "path": "auth",
      "tokenPath": "oauth/token"
    }
  },
  "created": "2021-02-23T22:30:17.345Z",
  "modified": "2021-11-09T17:17:32.694Z",
  "currentProfile": "stentor"
}

Then, to use this profile run:

$ xapp set -p stentor

To reset back to the default, run:

$ xapp set -p default