shard-cloud-cli
v1.0.3
Published
Shard Cloud CLI. This package provides a direct way to interact with the official ShardCloud API.
Readme
Shard Cloud CLI. This package provides a direct way to interact with the official ShardCloud API.
Installation
To install the CLI, just run the following command in your terminal:
macOS, Linux, and WSL:
curl -fsSL https://cli.shardcloud.app | bashWindows | need npm installed:
npm install -g shard-cloud-cliCommands
List of all commands available:
| Command | Description | | ------- | ------------------------------------------------------- | | me | Print the current logged-in user | | backup | Manage app backups | | commit | Create a commit in the current application | | create | Create an application with the current .shardcloud file | | login | Log in to Shard Cloud | | logout | Log out | | logs | View the logs of your applications | | status | View the status of your applications | | delete | Delete your applications | | start | Start a stopped app | | stop | Stop a running app | | restart | Restart a running app | | restore | Restore a backup |
Update
To update the CLI, just run the following command in your terminal:
macOS, Linux, and WSL:
curl -fsSL https://cli.shardcloud.app | bashWindows | need npm installed:
shardcloud updateInstall a specific version (NPM only)
shardcloud install 1.0.0