ReSolve Cloud Platform Command Line Interface
This package provides an interface used to deploy reSolve applications to the cloud.
Use the following console inputs to add this CLI to your reSolve project, login to the reSolve Cloud Platform and deploy the application:
yarn create resolve-app resolve-app
cd resolve-app
<develop your app locally>
yarn add resolve-cloud
yarn resolve-cloud login
yarn resolve-cloud deploy
The reSolve Cloud Platform CLI is available on NPM. You can add it to a project as shown below:
yarn add resolve-cloud
Use the login
command to authenticate and authorize in the reSolve cloud platform:
yarn resolve-cloud login
The CLI manages an authentication session so you stay logged in between queries.
Use the deploy
command to deploy an application to the cloud:
yarn resolve-cloud deploy
The cloud platform assigns an ID to an application deployment.
Pass a deployment's ID to the remove
command to remove this deployment:
yarn resolve-cloud remove <deploymentId>
To view the list of all your deployments, type:
yarn resolve-cloud list
Use the describe
command to view information on a specific deployment:
yarn resolve-cloud describe <deploymentId>
The read-models
command manages the application's read models.
yarn resolve-cloud read-models list <deploymentId>
yarn resolve-cloud read-models pause <deploymentId> <readModelName>
yarn resolve-cloud read-models resume <deploymentId> <readModelName>
yarn resolve-cloud read-models pause-all <deploymentId>
yarn resolve-cloud read-models resume-all <deploymentId>
yarn resolve-cloud read-models reset <deploymentId> <readModelName>
yarn resolve-cloud read-models reset-all <deploymentId> <readModelName>
The sagas
command manages the application's sagas.
yarn resolve-cloud sagas list <deploymentId>
yarn resolve-cloud sagas pause <deploymentId> <sagaName>
yarn resolve-cloud sagas resume <deploymentId> <sagaName>
yarn resolve-cloud sagas reset <deploymentId> <sagaName>
Use the sagas properties
command to manage a saga's properties.
yarn resolve-cloud sagas properties add <deploymentId> <sagaName> <propertyName> <value>
yarn resolve-cloud sagas properties list <deploymentId> <sagaName>
yarn resolve-cloud sagas properties remove <deploymentId> <sagaName> <propertyName>
yarn resolve-cloud sagas properties update <deploymentId> <sagaName> <propertyName> <newValue>
The following commands allow you to manage environment variables available for a deployment.
yarn resolve-cloud environment set <deploymentId> <keyValuePairs>
yarn resolve-cloud environment remove <deploymentId> <variableNameList>
Use the logs
command to view and manage application logs.
yarn resolve-cloud logs get <deploymentId>
yarn resolve-cloud logs remove <deploymentId>
Use the tracing
command to control application performance tracing.
resolve-cloud tracing enable <deploymentId>
resolve-cloud tracing disable <deploymentId>
resolve-cloud tracing status <deploymentId>
resolve-cloud tracing summary <deploymentId>
resolve-cloud tracing get <deploymentId> <traceId>
To view help on this CLI, type:
yarn resolve-cloud --help
You can also view help for a specific command, for example:
yarn resolve-cloud deploy --help