Cli
Command Line client for Scalingo PaaS
Install / Use
/learn @Scalingo/CliREADME
Scalingo-CLI v1.43.3
This repository contains the command line utility for the public PaaS Scalingo.
Visit our website.
How to Build?
The project is using Go, then you need a running Go environment: Official documentation
Once that's done, all you have to do is to go get the project, with the
following command:
go get github.com/Scalingo/cli/scalingo
That's it, you've build the latest version of the Scalingo CLI (the binary will
be present in $GOPATH/bin/scalingo)
How to Upgrade?
go get -u github.com/Scalingo/cli/scalingo
Run Behind a Proxy
You have to setup the following environment variables:
HTTP_PROXY=http://<proxy host>:<proxy port>
HTTPS_PROXY=https://<proxy host>:<proxy port>
Disable Update Checking
By default the CLI is making an HTTP request to learn if a newer version is available. To disable this feature, define the environment variable:
DISABLE_UPDATE_CHECKER=true
Command Help
NAME:
Scalingo Client - Manage your apps and containers
USAGE:
scalingo [global options] command [command options] [arguments...]
VERSION:
1.43.3
AUTHOR:
Scalingo Team <hello@scalingo.com>
COMMANDS:
help Shows a list of commands or help for one command
Addons:
addons List used add-ons
addons-add Provision an add-on for your application
addons-remove Remove an existing addon from your app
addons-upgrade Upgrade or downgrade an add-on attached to your app
addons-info Display information about an add-on attached to your app
addons-config Configure an add-on attached to your app
backups-config Configure the periodic backups of a database
database-enable-feature Enable a togglable feature from a database
database-disable-feature Enable a togglable feature from a database
database-users-list, database-list-users Print database's users
database-users-delete, database-delete-user Delete a database's user
database-users-create, database-create-user Create new database user
database-users-update-password, database-update-user-password Update a database user's password
database-maintenance-info Show a database maintenance
backups List backups for an addon
backups-create Ask for a new backup
backups-download Download a backup
backup-download Download a backup
Addons - Global:
addons-list List all addons
addons-plans List plans
Addons Maintenance:
database-maintenance-list List the past and future maintenance on the given database
Alerts:
alerts List the alerts of an application
alerts-add Add an alert to an application metric
alerts-update Update an alert
alerts-enable Enable an alert
alerts-disable Disable an alert
alerts-remove Remove an alert from an application
App Management:
destroy Destroy an app /!\
rename Rename an application
apps-info Display the application information
open Open app on default web browser
dashboard Open app dashboard on default web browser
logs, l Get the logs of your applications
logs-archives, la Get the logs archives of your applications and databases
run, r Run any command for your app
one-off-stop Stop a running one-off container
ps Display your application containers
scale, s Scale your application instantly
restart Restart processes of your app
send-signal, kill Send SIGUSR1 or SIGUSR2 to your application containers
force-https Enable/Disable automatic redirection of traffic to HTTPS for your application
sticky-session Enable/Disable sticky sessions for your application
router-logs Enable/disable router logs for your application
set-canonical-domain Set a canonical domain.
unset-canonical-domain Unset a canonical domain.
db-tunnel Create an encrypted connection to access your database
Autoscalers:
autoscalers List the autoscalers of an application
autoscalers-add Add an autoscaler to an application
autoscalers-remove Remove an autoscaler from an application
autoscalers-update Update an autoscaler
autoscalers-disable Disable an autoscaler
autoscalers-enable Enable an autoscaler
CLI Internals:
update Update 'scalingo' SDK client
changelog Show the Scalingo CLI changelog from last version
Collaborators:
collaborators List the collaborators of an application
collaborators-add Invite someone to work on an application
collaborators-remove Revoke permission to collaborate on an application
collaborators-update Update a collaborator from an application
Cron Tasks:
cron-tasks List the cron tasks of an application
Custom Domains:
domains List the domains of an application
domains-add Add a custom domain to an application
domains-remove Remove a custom domain from an application
domains-ssl Enable or disable SSL for your custom domains
Databases:
redis-console Run an interactive console with your Redis addon
mongo-console, mongodb-console Run an interactive console with your MongoDB addon
mysql-console Run an interactive console with your MySQL addon
pgsql-console, psql-console, postgresql-console Run an interactive console with your PostgreSQL addon
influxdb-console, influx-console Run an interactive console with your InfluxDB addon
Deployment:
deployments List app deployments
deployment-logs View deployment logs
deployment-follow Follow deployment event stream
deploy Trigger a deployment by archive
deployment-delete-cache, deployment-cache-delete Reset deployment cache
Display metrics of the running containers:
stats Display metrics of the currently running containers
Environment:
env Display the environment variables of your apps
env-get Get the requested environment variable from your app
env-set Set the environment variables of your apps
env-unset Unset environment variables of your apps
Events:
user-timeline List the events you have done on the platform
timeline List the actions related to a given app
Git:
git-setup Configure the Git remote for this application
git-show Display the Git remote URL for this application
Global:
apps List your apps
create, c Create a new app
login Login to Scalingo platform
logout Logout from Scalingo
regions List available regions
config Configure the CLI
self, whoami Get the logged in profile
Integration Link:
integration-link Show integration link of your app
integration-link-create Link your Scalingo application to an integration
integration-link-update Update the integration link parameters
integration-link-delete Delete the link between your Scalingo application and the integration
integration-link-manual-deploy Trigger a manual deployment of the specified branch
integration-link-manual-review-app Trigger a review app creation of the pull/merge request ID specified
Integrations:
integrations List your integrations
integrations-add Link your Scalingo account with your account on a tool such as github.com
integrations-delete Unlink your Scalingo account and your account on a tool such as github.com
integrations-import-keys Import public SSH keys from integration account
Log drains:
log-drains-add Add a log drain to an application
log-drains List the log drains of an application
log-drains-remove Remove a log drain from an application and its associated addons
Notifiers:
notifiers List your notifiers
notifiers-details Show details of a notifier
notifiers-add Add a notifier for your application
notifiers-update Update a notifier
notifiers-remove Remove an existing notifier from your app
Notifiers - Global:
notification-platforms List all notification platforms
Private Networks:
private-networks-domain-names: List the private network domain names of an application
Projects:
projects List the projects that you own
projects-add Create a project
projects-update Update a project
projects-remove Remove a project
projects-details Get details about a project
Public SSH Keys:
keys List your
