@pureweb/platform-cli
v5.0.5
Published
Platform CLI
Readme
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-cliUsing npm:
$ npm install -g @pureweb/platform-cliGetting Started
Access the PureWeb Developer Console
- Navigate to https://console.pureweb.io
- Login (or signup) and create a new project.
- Note the
CLIENT_IDandCLIENT_SECRETfor 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 MyEnvironmentCreate an Agent Token
$ pw agent create <environmentId>Create a Model
$ pw model create MyModel /path/to/zip/fileSupport
Contact [email protected] with any questions or concerns.
