Skip to content

Instantly share code, notes, and snippets.

@krutten
Forked from ezmobius/gist:669736
Created November 10, 2010 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krutten/670131 to your computer and use it in GitHub Desktop.
Save krutten/670131 to your computer and use it in GitHub Desktop.
Come see my teammate Derek Collison talk about the PaaS we've been building at VMware
http://www.rubyconf.org/presentations/8
⚡ $ vmc -h
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
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