The Square Cloud CLI provides the following primary commands:
Command to get help about any command.
Copy
Ask AI
squarecloud help
You will see the help information about the command.
Output
Copy
Ask AI
A command line application to manage your Square Cloud applicationsUsage: squarecloud COMMAND [flags] squarecloud [command]Available Commands: app Do some actions with your applications auth Manage your authentication with Square Cloud backup Manage your backups commit Commit your application to Square Cloud help Help about any command upload Upload your application to Square Cloud zip Zip the current folderFlags: -h, --help help for squarecloud -v, --version Print CLI versionUse "squarecloud [command] --help" for more information about a command.
Command to get help about any command.
Copy
Ask AI
squarecloud help
You will see the help information about the command.
Output
Copy
Ask AI
A command line application to manage your Square Cloud applicationsUsage: squarecloud COMMAND [flags] squarecloud [command]Available Commands: app Do some actions with your applications auth Manage your authentication with Square Cloud backup Manage your backups commit Commit your application to Square Cloud help Help about any command upload Upload your application to Square Cloud zip Zip the current folderFlags: -h, --help help for squarecloud -v, --version Print CLI versionUse "squarecloud [command] --help" for more information about a command.
Command to authenticate to the Square Cloud CLI using your API key.
Copy
Ask AI
squarecloud auth login
You will be prompted to enter your API key.
Insert your square cloud api token
Copy
Ask AI
Your API Token:> Insert your square cloud api token
Output
Copy
Ask AI
Your API Token has successfuly changed! You are now logged in a <username>With great power comes great responsibility!
After entering your API key, you will be authenticated to the Square Cloud CLI. 😁
Command to print user information associated with the current Square Cloud Token.
Copy
Ask AI
squarecloud auth whoami
You will see the user information associated with the current Square Cloud Token.
Output
Copy
Ask AI
Currently logged as <username>
Command to commit your application to Square Cloud.
Copy
Ask AI
squarecloud commit
Your application will be committed to Square Cloud.
Output
Copy
Ask AI
✓ Your source has successfuly commited to Square Cloud
Command to zip the current folder.
Copy
Ask AI
squarecloud zip
The current folder will be zipped.
Output
Copy
Ask AI
✓ Your source has successfuly zipped to documentation.zip
The CLI provides the following commands to manage your applications:
Command to list all your Square Cloud applications.
Copy
Ask AI
squarecloud app list
You will see a list of all your Square Cloud applications.
Output
Copy
Ask AI
NAME App ID MEMORY CLUSTER LANG WEBSITECommunity Bot 5bbd020326ee4692aba43e0ca0a75454 1024mb fl-micron-1 javascript falseManagement Bot 5241e2ae060a4735ba672dd4abb7099b 1024mb fl-micron-2 javascript falseEval Bot Test 7845e3b8683a4cb7a323656c09fdafce 1024mb fl-micron-4 javascript falseConfig Web 9b72fc4efc7748da9c69fe21daab18f4 2048mb fl-micron-2 javascript trueProxy System a23d130fcc9d4be288ae4599a4292c32 3096mb fl-micron-1 javascript truePortfolio 441fa128793q47adbb7519536eb6f9bc 2048mb fl-micron-1 static true
Command to list all your Square Cloud applications.
Copy
Ask AI
squarecloud app list
You will see a list of all your Square Cloud applications.
Output
Copy
Ask AI
NAME App ID MEMORY CLUSTER LANG WEBSITECommunity Bot 5bbd020326ee4692aba43e0ca0a75454 1024mb fl-micron-1 javascript falseManagement Bot 5241e2ae060a4735ba672dd4abb7099b 1024mb fl-micron-2 javascript falseEval Bot Test 7845e3b8683a4cb7a323656c09fdafce 1024mb fl-micron-4 javascript falseConfig Web 9b72fc4efc7748da9c69fe21daab18f4 2048mb fl-micron-2 javascript trueProxy System a23d130fcc9d4be288ae4599a4292c32 3096mb fl-micron-1 javascript truePortfolio 441fa128793q47adbb7519536eb6f9bc 2048mb fl-micron-1 static true
Command to perform actions with your applications.
Copy
Ask AI
squarecloud app
You will see a list of all available commands to manage your applications.
Output
Copy
Ask AI
Do some actions with your applicationsUsage: squarecloud app [flags] squarecloud app [command]Available Commands: backup Create a backup of you application commit Commit your application to Square Cloud delete Delete your application list List all your applications logs See your application logs restart Restart your application start Start your application status Show the status of your application stop Stop your application upload Upload your application to Square CloudFlags: -h, --help help for appUse "squarecloud app [command] --help" for more information about a command.