CLI
The ember command calls the Control API. It deploys models and shows deployments.
Settings#
| Environment variable | Meaning |
|---|---|
EMBER_API_URL | The Control API URL of your Nuemetrix installation. |
EMBER_API_KEY | An API key with the scopes deploy and read. |
The CLI has no default host. You must set EMBER_API_URL.
Push a folder#
The command ember push uploads a package or a container folder and makes a deployment.
ember push ./my-model --wait
With --wait, the command waits until the deployment is ready or failed.
Show a deployment#
ember deployments get dep_abc123
Output#
Each command accepts --output json. The exit codes are as follows.
| Code | Meaning |
|---|---|
| 0 | The command was successful. |
| 1 | The command or a setting is not correct. |
| 2 | The API returned an error. |
| 3 | A network error occurred. |