· 7 years ago · Jun 09, 2018, 10:38 PM
1GETTING STARTED:
2 login, l Log user in
3 logout Log user out
4 target, t Set or view the targeted org or space
5 api Set or view target api url
6
7 APPS:
8 apps, a List all apps in the target space
9 app Display the status and information about an app
10
11 push, p Push a new app or sync changes to an existing app
12 scale Change or view the instance count, disk space limit, and memory limit for an app
13 delete, d Delete an app
14 rename Rename an app
15
16 start, st Start an app
17 stop, sp Stop an app
18 restart, rs Restart an app
19 restage, rg Restage an app
20
21 events Show recent app events
22 files, f Print out a list of files in a directory or the contents of a specific file
23 logs Tail or show recent logs for an app
24 set-logging-level, sll Set the logging level for an app
25 unset-logging-level, ull Reset the logging level for the given component to its default
26 list-logging-levels, lll List the manually configured logging levels for an app
27 env, e Show all env variables for an app
28 set-env, se Set an env variable for an app
29 unset-env Remove a variable from the environment of an app
30
31 SERVICES:
32 marketplace, m List available offerings in the marketplace
33 services, s List all services in the target space
34 create-service, cs Create a service instance
35 delete-service, ds Delete a service instance
36 bind-service, bs Bind a service instance to an app
37 unbind-service, us Unbind a service instance from an app
38 service-brokers List service brokers
39 create-service-broker Create a service broker
40 update-service-broker Update a service broker
41 delete-service-broker Delete a service broker
42 rename-service-broker Rename a service broker
43 create-user-provided-service, cups Make a user-provided service instance available to apps
44 update-user-provided-service, uups Update user-provided service instance name value pairs
45 register-service-url Register a service name with a URL
46 unregister-service-url Unregister a service URL
47
48 ORGS:
49 orgs, o List all orgs
50 create-org, co Create an org
51 delete-org Delete an org
52 rename-org Rename an org
53
54 SPACES:
55 spaces List all spaces in an org
56 create-space Create a space
57 delete-space Delete a space
58 rename-space Rename a space
59 update-space Update settings of an existing space
60
61 DOMAINS:
62 domains List all domains
63 create-domain Create a domain
64 delete-domain Delete a domain
65 set-certificate Sets the SSL certificate used for a domain.
66 delete-certificate Deletes the SSL certificate used for a domain.
67
68 ROUTES:
69 routes, r List all routes in current space
70 create-route Create a url route in a space for later use
71 map-route Assign or change the route for an app
72 unmap-route Remove a url route from an app
73 delete-route Delete a route
74
75 BUILDPACKS:
76 buildpacks List all buildpacks
77 create-buildpack Create a new buildpack
78 update-buildpack Update a buildpack
79 rename-buildpack Rename a buildpack
80 delete-buildpack Delete a buildpack
81
82 RUNTIMES:
83 runtimes List all runtimes
84 runtime Display information about a runtime component
85 create-runtime Create a new runtime component
86 update-runtime Update properties of a runtime
87 delete-runtime Delete a runtime component
88 search-runtime Searches for a runtime which best fits a query
89 pinned-runtimes List all pinned runtime components for an application
90 pin-runtime Pin a runtime component to an application
91 unpin-runtime Unpin a runtime component from an application
92
93 USER ADMIN:
94 users List all users
95 purge-users Removes all users from Controller which are not known to UAA [-f]
96
97 space-users Show space users by role
98 set-space-role Assign a space role to a user
99 unset-space-role Revoke a space role from a user
100
101 org-users Show org users by role
102 set-org-role Assign a org role to a user
103 unset-org-role Revoke a org role from a user
104
105 ADMIN:
106 traces List all available tracing components
107 enable-trace Enable tracing components
108 disable-trace Disable tracing components
109
110 CONFIG:
111 running-environment-variable-group, revg Retrieve the contents of the running environment variable group
112 set-running-environment-variable-group, srevg Pass parameters as JSON to create a running environment variable group
113 staging-environment-variable-group, sevg Retrieve the contents of the staging environment variable group
114 set-staging-environment-variable-group, ssevg Pass parameters as JSON to create a staging environment variable group
115
116 BLOB STORE:
117 blob-store-info Show information about the blob store.
118 blob-set-list Lists all blob sets in the blob store.
119 blob-list Lists all blobs in the blob set.
120 blob-set-download Downloads the content of a blob set as a zip file.
121 blob-store-gc Triggers a garbage collection of the blob store.
122
123 OTHERS:
124 version Show server version information.
125 help, h Show help
126 system-info Show information about the system infrastructure.
127 oauth-token Retrieve and display the OAuth token for the current session
128
129 PLUGINS:
130 deploy Deploy a new multi-target app or sync changes to an existing one
131 undeploy Undeploy a multi-target app
132 mta-ops List all active multi-target app operations
133 download-mta-op-logs, dmol Download logs of multi-target app operation
134 mtas List all multi-target apps
135 mta Display information about a multi-target app
136 target-platforms, tps List all target platforms for deployment of multi-target apps
137 target-platform, tp Display information about a target platform for deployment of multi-target apps
138 create-target-platform, ctp Create a target platform for deployment of multi-target apps
139 update-target-platform, utp Update a target platform for deployment of multi-target apps
140 delete-target-platform, dtp Delete a target platform for deployment of multi-target apps
141 install, ins Install software component version
142 list-components, lc List all installed software component versions
143 display-installation-logs, dil Display Product Installer log