Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 107 lines (85 sloc) 6.187 kb
dbe336a Initial commit
Cloud Foundry Engineer authored
1 # VMC
2
3 The VMware Cloud CLI. This is the command line interface to VMware's Application Platform
4
421e248 Update README to include Bug filing info per Deepika
Chloe Jackson authored
5 _Copyright 2010-2012, VMware, Inc. Licensed under the
dbe336a Initial commit
Cloud Foundry Engineer authored
6 MIT license, please see the LICENSE file. All rights reserved._
7
8 Usage: vmc [options] command [<args>] [command_options]
9 Try 'vmc help [command]' or 'vmc help options' for more information.
10
11 Currently available vmc commands are:
12
13 Getting Started
14 target [url] Reports current target or sets a new target
15 login [email] [--email, --passwd] Login
16 info System and account information
17
18 Applications
19 apps List deployed applications
20
21 Application Creation
22 push [appname] Create, push, map, and start a new application
23 push [appname] --path Push application from specified path
24 push [appname] --url Set the url for the application
25 push [appname] --instances <N> Set the expected number <N> of instances
26 push [appname] --mem M Set the memory reservation for the application
27 push [appname] --no-start Do not auto-start the application
28
29 Application Operations
30 start <appname> Start the application
31 stop <appname> Stop the application
32 restart <appname> Restart the application
33 delete <appname> Delete the application
34
35 Application Updates
36 update <appname> [--path] Update the application bits
37 mem <appname> [memsize] Update the memory reservation for an application
38 map <appname> <url> Register the application to the url
39 unmap <appname> <url> Unregister the application from the url
40 instances <appname> <num|delta> Scale the application instances up or down
41
42 Application Information
43 crashes <appname> List recent application crashes
44 crashlogs <appname> Display log information for crashed applications
45 logs <appname> [--all] Display log information for the application
46 files <appname> [path] [--all] Display directory listing or file download for path
47 stats <appname> Display resource usage for the application
48 instances <appname> List application instances
49
50 Application Environment
51 env <appname> List application environment variables
52 env-add <appname> <variable[=]value> Add an environment variable to an application
53 env-del <appname> <variable> Delete an environment variable to an application
54
55 Services
56 services Lists of services available and provisioned
57 create-service <service> [--name,--bind] Create a provisioned service
58 create-service <service> <name> Create a provisioned service and assign it <name>
59 create-service <service> <name> <app> Create a provisioned service and assign it <name>, and bind to <app>
60 delete-service [servicename] Delete a provisioned service
61 bind-service <servicename> <appname> Bind a service to an application
62 unbind-service <servicename> <appname> Unbind service from the application
63 clone-services <src-app> <dest-app> Clone service bindings from <src-app> application to <dest-app>
02b8d6c add tunnel command to usage dialogue and README
Alex Suraci authored
64 tunnel <servicename> [--port] Create a local tunnel to a service
65 tunnel <servicename> <clientcmd> Create a local tunnel to a service and start a local client
dbe336a Initial commit
Cloud Foundry Engineer authored
66
67 Administration
68 user Display user account information
69 passwd Change the password for the current user
70 logout Logs current user out of the target system
71 add-user [--email, --passwd] Register a new user (requires admin privileges)
72 delete-user <user> Delete a user and all apps and services (requires admin privileges)
73
74 System
75 runtimes Display the supported runtimes of the target system
76 frameworks Display the recognized frameworks of the target system
77
37a8839 @pmenglund merge micro cloud helper into vmc
pmenglund authored
78 Micro Cloud Foundry
79 micro status Display Micro Cloud Foundry VM status
80 mciro offline Configure Micro Cloud Foundry VM for offline mode
81 micro online Configure Micro Cloud Foundry VM for online mode
82 [--vmx file] Path to micro.vmx
83 [--vmrun executable] Path to vmrun executable
84 [--password cleartext] Cleartext password for guest VM vcap user
85 [--save] Save cleartext password in ~/.vmc_micro
86
dbe336a Initial commit
Cloud Foundry Engineer authored
87 Misc
88 aliases List aliases
89 alias <alias[=]command> Create an alias for a command
90 unalias <alias> Remove an alias
91 targets List known targets and associated authorization tokens
92
93 Help
94 help [command] Get general help or help on a specific command
95 help options Get help on available options
96
97 ## Simple Story (for Ruby apps)
98
238a245 @timf Changed suggested vmc target to api.cloudfoundry.com
timf authored
99 vmc target api.cloudfoundry.com
dbe336a Initial commit
Cloud Foundry Engineer authored
100 vmc login
101 bundle package
102 vmc push
421e248 Update README to include Bug filing info per Deepika
Chloe Jackson authored
103
104 ## File a Bug
105
106 To file a bug against Cloud Foundry Open Source and its components, sign up and use our bug tracking system: [http://cloudfoundry.atlassian.net](http://cloudfoundry.atlassian.net)
Something went wrong with that request. Please try again.