Skip to content

Instantly share code, notes, and snippets.

@ezmobius
Created November 9, 2010 18:55
Show Gist options
  • Save ezmobius/669585 to your computer and use it in GitHub Desktop.
Save ezmobius/669585 to your computer and use it in GitHub Desktop.
(master)⚡ % vmc -h ~/projects/B29/new-cli
version # version
help, -h # show usage
aliases # lists current aliases
alias <alias>[=]<command> # create an alias for a command
target [host[:port]] # reports current target or sets the target site
info # information
register [--email, --passwd] # register and create an account
login [email] [--email, --passwd] # login
logout # logout
passwd # change password for current user
user # display current user
services # list of services available
create-service <service> [--name, --bind] # create a service instance. we will
# auto-generate a name if you leave off
# the --name flag, if you add the --bind
# flag with an app name we will also bind
# the service to that app
delete-service [service] # delete the service
bind-service <service> <appname> # bind service to appname
unbind-service <service> <appname> # unbind service from appname
apps # list your apps
push <appname> [--instances --exec
--noframework --url
--mem --path
--no-start] # push and start the application
push <appname> # push and start the application
start <appname> # start the application
stop <appname> # stop the application
restart <appname> # restart the application
delete <appname || --all> [--force] # delete the application
update <appname> [--canary] # update the application
instances <appname> [num] # list instances, scale up or down
# the number of instances
mem <appname> [memsize] # update the memory reservation for this application
# values available: (64M, 128M, 256M, 512M, 1G or 2G)
crashes <appname> # list recent application crashes
crashlogs <appname> [--instance] # dump all the logs for the crashed instance
logs <appname> [--instance] # dump all the logs for the instance
files <appname> [path] [--instance] # directory listing or file download
stats <appname> # report resource usage for the application
map <appname> <url> # register the application with the url
unmap <appname> <url> # unregister the application from the url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment