npm.io
5.0.5 • Published 7 months agoCLI

@pureweb/platform-cli

Licence
MIT
Version
5.0.5
Deps
5
Size
70 kB
Vulns
0
Weekly
0

Platform CLI

The Platform CLI is a command line interface used to manage your PureWeb projects.

Installation

To install the latest released version:

Using yarn:

$ yarn global add @pureweb/platform-cli

Using npm:

$ npm install -g @pureweb/platform-cli

Getting Started

Access the PureWeb Developer Console
  1. Navigate to https://console.pureweb.io
  2. Login (or signup) and create a new project.
  3. Note the CLIENT_ID and CLIENT_SECRET for the project, for use in the next step.
Set up your PureWeb project configuration.
$ pw config set client-id <CLIENT_ID>
$ pw config set client-secret <CLIENT_SECRET>
Example Commands

For a full list of commands, run pw help.

Create an Agent Environment
$ pw environment create --name MyEnvironment
Create an Agent Token
$ pw agent create <environmentId>
Create a Model
$ pw model create MyModel /path/to/zip/file

Support

Contact support@pureweb.com with any questions or concerns.