An open API service indexing awesome lists of open source software.

https://github.com/squarecloudofc/cli

This package provides a direct way to interact with the official Square Cloud API.
https://github.com/squarecloudofc/cli

cli go golang squarecloud

Last synced: 4 months ago
JSON representation

This package provides a direct way to interact with the official Square Cloud API.

Awesome Lists containing this project

README

          

Square Cloud CLI.
This package provides a direct way to interact with the official Square Cloud API.

### Installation
To install the CLI, just run the following command in your terminal:

![cli install in linux gif](https://cdn.squarecloud.app/blog/posts/changelog/01-02-2024/square-cli-install.gif)

macOS, Linux, and WSL:
```bash
curl -fsSL https://cli.squarecloud.app/install | bash
```

Windows | need [npm](https://www.npmjs.com/) installed:
```bash
npm install -g @squarecloud/cli
```

Or access the @squarecloud/cli [npm page](https://www.npmjs.com/package/@squarecloud/cli) for more information.

### Commands
List of all commands available in the CLI:

| Command | Description |
| ------- | --------------------------------------------------------------------- |
| app | Perform actions with your applications |
| apps | List all your Square Cloud applications |
| commit | Commit your application to Square Cloud |
| help | Get help about any command |
| login | Log in to Square Cloud |
| whoami | Print user information associated with the current Square Cloud Token |
| zip | Zip the current folder |

### Inside the app command
List of all commands available in the app command:

| Command | Description |
| ------- | ----------------------------------- |
| delete | Delete your application |
| logs | See your application logs |
| restart | Restart your application |
| start | Start your application |
| status | Show the status of your application |
| stop | Stop your application |

### Update
To update the CLI, just run the following command in your terminal:

macOS, Linux, and WSL:
```bash
curl -fsSL https://cli.squarecloud.app/install.sh | sh
```

Windows | need [npm](https://www.npmjs.com/) installed:
```bash
squarecloud update
```