Created
April 10, 2019 16:54
-
-
Save simpleadm/69c3ef764fdd637a109bbaed8420d714 to your computer and use it in GitHub Desktop.
magento-cloud list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome to Magento Cloud! | |
Project title: PROJECT_NAME | |
Project ID: PROJECT_ID | |
Project dashboard: https://eu.magento.cloud/#/projects/PROJECT_ID | |
Your environments are: | |
+-------------------+-------------+----------+ | |
| ID | Title | Status | | |
+-------------------+-------------+----------+ | |
| master* | Master | Active | | |
| cloud-test | cloud-test | Inactive | | |
| production | Production | Active | | |
| staging | Staging | Active | | |
| integration | Integration | Active | | |
+-------------------+-------------+----------+ | |
* - Indicates the current environment | |
Check out a different environment by running magento-cloud checkout [id] | |
Branch a new environment by running magento-cloud environment:branch [new-name] | |
Make a snapshot of the current environment by running magento-cloud snapshot:create | |
You can list other projects by running magento-cloud projects | |
Manage your SSH keys by running magento-cloud ssh-keys | |
Type magento-cloud list to see all available commands. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Magento Cloud CLI 1.24.0 | |
Global options: | |
--help -h Display this help message | |
--quiet -q Do not output any message | |
--verbose -v|vv|vvv Increase the verbosity of messages | |
--version -V Display this application version | |
--yes -y Answer "yes" to all prompts; disable interaction | |
--no -n Answer "no" to all prompts | |
Available commands: | |
clear-cache (clearcache, cc) Clear the CLI cache | |
docs Open the online documentation | |
help Displays help for a command | |
list Lists commands | |
multi Execute a command on multiple projects | |
web Open the Web UI | |
activity | |
activity:get View detailed information on a single activity | |
activity:list (activities, act) Get a list of activities for an environment or project | |
activity:log Display the log for an activity | |
app | |
app:config-get View the configuration of an app | |
app:list (apps) List apps in the project | |
auth | |
auth:browser-login (login) Log in to Magento Cloud via a browser | |
auth:info Display your account information | |
auth:logout (logout) Log out of Magento Cloud | |
auth:password-login Log in to Magento Cloud using a username and password | |
blackfire | |
blackfire:setup Setup Blackfire.io integration for the project | |
certificate | |
certificate:add Add an SSL certificate to the project | |
certificate:delete Delete a certificate from the project | |
certificate:get View a certificate | |
certificate:list (certificates, certs) List project certificates | |
commit | |
commit:get Show commit details | |
commit:list (commits) List commits | |
db | |
db:dump Create a local dump of the remote database | |
db:size Estimate the disk usage of a database | |
db:sql (sql) Run SQL on the remote database | |
domain | |
domain:add Add a new domain to the project | |
domain:delete Delete a domain from the project | |
domain:get Show detailed information for a domain | |
domain:list (domains) Get a list of all domains | |
domain:update Update a domain | |
environment | |
environment:activate Activate an environment | |
environment:branch (branch) Branch an environment | |
environment:checkout (checkout) Check out an environment | |
environment:delete Delete an environment | |
environment:http-access (httpaccess) Update HTTP access settings for an environment | |
environment:info Read or set properties for an environment | |
environment:list (environments, env) Get a list of environments | |
environment:logs (log) Read an environment's logs | |
environment:merge (merge) Merge an environment | |
environment:push (push) Push code to an environment | |
environment:redeploy (redeploy) Redeploy an environment | |
environment:relationships (relationships) Show an environment's relationships | |
environment:ssh (ssh) SSH to the current environment | |
environment:synchronize (sync) Synchronize an environment's code and/or data from its parent | |
environment:url (url) Get the public URLs of an environment | |
integration | |
integration:add Add an integration to the project | |
integration:delete Delete an integration from a project | |
integration:get View details of an integration | |
integration:list (integrations) View a list of project integration(s) | |
integration:update Update an integration | |
integration:validate Validate an existing integration | |
local | |
local:build (build) Build the current project locally | |
local:dir (dir) Find the local project root | |
mount | |
mount:download Download files from a mount, using rsync | |
mount:list (mounts) Get a list of mounts | |
mount:size Check the disk usage of mounts | |
mount:upload Upload files to a mount, using rsync | |
project | |
project:clear-build-cache Clear a project's build cache | |
project:get (get) Clone a project locally | |
project:info Read or set properties for a project | |
project:list (projects, pro) Get a list of all active projects | |
project:set-remote Set the remote project for the current Git repository | |
repo | |
repo:cat Read a file in the project repository | |
repo:ls List files in the project repository | |
route | |
route:get View a resolved route | |
route:list (routes) List all routes for an environment | |
self | |
self:install Install or update CLI configuration files | |
self:update (self-update) Update the CLI to the latest version | |
service | |
service:list (services) List services in the project | |
service:mongo:dump (mongodump) Create a binary archive dump of data from MongoDB | |
service:mongo:export (mongoexport) Export data from MongoDB | |
service:mongo:restore (mongorestore) Restore a binary archive dump of data into MongoDB | |
service:mongo:shell (mongo) Use the MongoDB shell | |
service:redis-cli (redis) Access the Redis CLI | |
snapshot | |
snapshot:create Make a snapshot of an environment | |
snapshot:list (snapshots) List available snapshots of an environment | |
snapshot:restore Restore an environment snapshot | |
ssh-key | |
ssh-key:add Add a new SSH key | |
ssh-key:delete Delete an SSH key | |
ssh-key:list (ssh-keys) Get a list of SSH keys in your account | |
tunnel | |
tunnel:close Close SSH tunnels | |
tunnel:info View relationship info for SSH tunnels | |
tunnel:list (tunnels) List SSH tunnels | |
tunnel:open Open SSH tunnels to an app's relationships | |
tunnel:single Open a single SSH tunnel to an app relationship | |
user | |
user:add Add a user to the project | |
user:delete Delete a user from the project | |
user:get View a user's role(s) | |
user:list (users) List project users | |
user:update Update user role(s) on a project | |
variable | |
variable:create Create a variable | |
variable:delete Delete a variable | |
variable:get (vget) View a variable | |
variable:list (variables, var) List variables | |
variable:update Update a variable | |
worker | |
worker:list (workers) Get a list of all deployed workers |
Worthy to read for magento cloud cli related mcqs for certification or normal routine use for cloud environment.Thank You
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create variable
magento-cloud variable:create --level=environment --value=true --inheritable=false --json=false --prefix=none TEST