You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
push Push a new app or sync changes to an existing app
@@ -23,8 +32,8 @@ rename Rename an app
23
32
start Start an app
24
33
stop Stop an app
25
34
restart Stop all instances of the app, then start them again. This causes downtime.
26
-
restage Recreate the app's executable artifact using the latest pushed app files and the latest environment (variables, service bindings, buildpack, stack, etc.)
27
-
restart-app-instance Terminate the running application Instance at the given index and instantiate a new instance of the application with the same index
35
+
restage Recreate the app's executable artifact using the latest pushed app files and the latest environment (variables, service bindings, buildpack, stack, etc.). This action will cause app downtime.
36
+
restart-app-instance Terminate, then restart an app instance
28
37
run-task Run a one-off task on an app
29
38
tasks List tasks of an app
30
39
terminate-task Terminate a running task of an app
@@ -33,7 +42,7 @@ files Print out a list of files in a directory or the contents of a specific fil
33
42
logs Tail or show recent logs for an app
34
43
env Show all env variables for an app
35
44
set-env Set an env variable for an app
36
-
unset-env Remove an env variable
45
+
unset-env Remove an env variable from an app
37
46
stacks List all stacks (a stack is a pre-built file system, including an operating system, that can run apps)
38
47
stack Show information for a stack (a stack is a pre-built file system, including an operating system, that can run apps)
39
48
copy-source Copies the source code of an application to another existing application (and restarts that application)
@@ -44,3 +53,241 @@ enable-ssh Enable ssh for the application
44
53
disable-ssh Disable ssh for the application
45
54
ssh-enabled Reports whether SSH is enabled on an application container instance
46
55
ssh SSH to an application container instance
56
+
```
57
+
58
+
#### SERVICES
59
+
60
+
```
61
+
marketplace List available offerings in the marketplace
62
+
services List all service instances in the target space
63
+
service Show service instance info
64
+
create-service Create a service instance
65
+
update-service Update a service instance
66
+
delete-service Delete a service instance
67
+
rename-service Rename a service instance
68
+
create-service-key Create key for a service instance
69
+
service-keys List keys for a service instance
70
+
service-key Show service key info
71
+
delete-service-key Delete a service key
72
+
bind-service Bind a service instance to an app
73
+
unbind-service Unbind a service instance from an app
74
+
bind-route-service Bind a service instance to an HTTP route
75
+
unbind-route-service Unbind a service instance from an HTTP route
76
+
create-user-provided-service Make a user-provided service instance available to CF apps
77
+
update-user-provided-service Update user-provided service instance
78
+
share-service Share a service instance with another space
79
+
unshare-service Unshare a shared service instance from a space
80
+
```
81
+
82
+
#### ORGS
83
+
```
84
+
orgs List all orgs
85
+
org Show org info
86
+
create-org Create an org
87
+
delete-org Delete an org
88
+
rename-org Rename an org
89
+
SPACES
90
+
spaces List all spaces in an org
91
+
space Show space info
92
+
create-space Create a space
93
+
delete-space Delete a space
94
+
rename-space Rename a space
95
+
allow-space-ssh Allow SSH access for the space
96
+
disallow-space-ssh Disallow SSH access for the space
97
+
space-ssh-allowed Reports whether SSH is allowed in a space
98
+
```
99
+
100
+
#### DOMAINS
101
+
```
102
+
domains List domains in the target org
103
+
create-domain Create a domain in an org for later use
104
+
delete-domain Delete a domain
105
+
create-shared-domain Create a domain that can be used by all orgs (admin-only)
106
+
delete-shared-domain Delete a shared domain
107
+
router-groups List router groups
108
+
```
109
+
110
+
#### ROUTES
111
+
```
112
+
routes List all routes in the current space or the current organization
113
+
create-route Create a url route in a space for later use
114
+
check-route Perform a simple check to determine whether a route currently exists or not
115
+
map-route Add a url route to an app
116
+
unmap-route Remove a url route from an app
117
+
delete-route Delete a route
118
+
delete-orphaned-routes Delete all orphaned routes in the currently targeted space (i.e. those that are not mapped to an app)
119
+
NETWORK POLICIES
120
+
network-policies List direct network traffic policies
121
+
add-network-policy Create policy to allow direct network traffic from one app to another
122
+
remove-network-policy Remove network traffic policy of an app
123
+
```
124
+
125
+
#### BUILDPACKS
126
+
```
127
+
buildpacks List all buildpacks
128
+
create-buildpack Create a buildpack
129
+
update-buildpack Update a buildpack
130
+
rename-buildpack Rename a buildpack
131
+
delete-buildpack Delete a buildpack
132
+
```
133
+
134
+
#### USER ADMIN
135
+
```
136
+
create-user Create a new user
137
+
delete-user Delete a user
138
+
org-users Show org users by role
139
+
set-org-role Assign an org role to a user
140
+
unset-org-role Remove an org role from a user
141
+
space-users Show space users by role
142
+
set-space-role Assign a space role to a user
143
+
unset-space-role Remove a space role from a user
144
+
```
145
+
146
+
#### ORG ADMIN
147
+
```
148
+
quotas List available usage quotas
149
+
quota Show quota info
150
+
set-quota Assign a quota to an org
151
+
create-quota Define a new resource quota
152
+
delete-quota Delete a quota
153
+
update-quota Update an existing resource quota
154
+
share-private-domain Share a private domain with an org
155
+
unshare-private-domain Unshare a private domain with an org
156
+
```
157
+
158
+
#### SPACE ADMIN
159
+
```
160
+
space-quotas List available space resource quotas
161
+
space-quota Show space quota info
162
+
create-space-quota Define a new space resource quota
163
+
update-space-quota Update an existing space quota
164
+
delete-space-quota Delete a space quota definition and unassign the space quota from all spaces
165
+
set-space-quota Assign a space quota definition to a space
166
+
unset-space-quota Unassign a quota from a space
167
+
```
168
+
169
+
#### SERVICE ADMIN
170
+
```
171
+
service-auth-tokens List service auth tokens
172
+
create-service-auth-token Create a service auth token
173
+
update-service-auth-token Update a service auth token
174
+
delete-service-auth-token Delete a service auth token
175
+
service-brokers List service brokers
176
+
create-service-broker Create a service broker
177
+
update-service-broker Update a service broker
178
+
delete-service-broker Delete a service broker
179
+
rename-service-broker Rename a service broker
180
+
migrate-service-instances Migrate service instances from one service plan to another
181
+
purge-service-offering Recursively remove a service and child objects from Cloud Foundry database without making requests to a service broker
182
+
purge-service-instance Recursively remove a service instance and child objects from Cloud Foundry database without making requests to a service broker
183
+
service-access List service access settings
184
+
enable-service-access Enable access to a service or service plan for one or all orgs
185
+
disable-service-access Disable access to a service or service plan for one or all orgs
186
+
```
187
+
188
+
#### SECURITY GROUP
189
+
```
190
+
security-group Show a single security group
191
+
security-groups List all security groups
192
+
create-security-group Create a security group
193
+
update-security-group Update a security group
194
+
delete-security-group Deletes a security group
195
+
bind-security-group Bind a security group to a particular space, or all existing spaces of an org
196
+
unbind-security-group Unbind a security group from a space
197
+
bind-staging-security-group Bind a security group to the list of security groups to be used for staging applications
198
+
staging-security-groups List security groups in the staging set for applications
199
+
unbind-staging-security-group Unbind a security group from the set of security groups for staging applications
200
+
bind-running-security-group Bind a security group to the list of security groups to be used for running applications
201
+
running-security-groups List security groups in the set of security groups for running applications
202
+
unbind-running-security-group Unbind a security group from the set of security groups for running applications
203
+
```
204
+
205
+
#### ENVIRONMENT VARIABLE GROUPS
206
+
```
207
+
running-environment-variable-group Retrieve the contents of the running environment variable group
208
+
staging-environment-variable-group Retrieve the contents of the staging environment variable group
209
+
set-staging-environment-variable-group Pass parameters as JSON to create a staging environment variable group
210
+
set-running-environment-variable-group Pass parameters as JSON to create a running environment variable group
211
+
```
212
+
213
+
#### ISOLATION SEGMENTS
214
+
```
215
+
isolation-segments List all isolation segments
216
+
create-isolation-segment Create an isolation segment
217
+
delete-isolation-segment Delete an isolation segment
218
+
enable-org-isolation Entitle an organization to an isolation segment
219
+
disable-org-isolation Revoke an organization's entitlement to an isolation segment
220
+
set-org-default-isolation-segment Set the default isolation segment used for apps in spaces in an org
221
+
reset-org-default-isolation-segment Reset the default isolation segment used for apps in spaces of an org
222
+
set-space-isolation-segment Assign the isolation segment for a space
223
+
reset-space-isolation-segment Reset the space's isolation segment to the org default
224
+
```
225
+
226
+
#### FEATURE FLAGS
227
+
```
228
+
feature-flags Retrieve list of feature flags with status
229
+
feature-flag Retrieve an individual feature flag with status
230
+
enable-feature-flag Allow use of a feature
231
+
disable-feature-flag Prevent use of a feature
232
+
```
233
+
234
+
#### ADVANCED
235
+
```
236
+
curl Executes a request to the targeted API endpoint
237
+
config Write default values to the config
238
+
oauth-token Retrieve and display the OAuth token for the current session
239
+
ssh-code Get a one time password for ssh clients
240
+
ADD/REMOVE PLUGIN REPOSITORY
241
+
add-plugin-repo Add a new plugin repository
242
+
remove-plugin-repo Remove a plugin repository
243
+
list-plugin-repos List all the added plugin repositories
244
+
repo-plugins List all available plugins in specified repository or in all added repositories
245
+
```
246
+
247
+
#### ADD/REMOVE PLUGIN
248
+
```
249
+
plugins List commands of installed plugins
250
+
install-plugin Install CLI plugin
251
+
uninstall-plugin Uninstall CLI plugin
252
+
INSTALLED PLUGIN COMMANDS
253
+
ENVIRONMENT VARIABLES
254
+
CF_COLOR=false Do not colorize output
255
+
CF_DIAL_TIMEOUT=6 Max wait time to establish a connection, including name resolution, in seconds
256
+
CF_HOME=path/to/dir/ Override path to default config directory
257
+
CF_PLUGIN_HOME=path/to/dir/ Override path to default plugin config directory
258
+
CF_TRACE=true Print API request diagnostics to stdout
259
+
CF_TRACE=path/to/trace.log Append API request diagnostics to a log file
260
+
all_proxy=proxy.example.com:8080 Specify a proxy server to enable proxying for all requests
261
+
https_proxy=proxy.example.com:8080 Enable proxying for HTTP requests
262
+
```
263
+
264
+
#### GLOBAL OPTIONS
265
+
```
266
+
--help, -h Show help
267
+
-v Print API request diagnostics to stdout
268
+
APPS (experimental)
269
+
v3-apps List all apps in the target space
270
+
v3-create-app Create a V3 App
271
+
v3-push Push a new app or sync changes to an existing app
272
+
v3-scale Change or view the instance count, disk space limit, and memory limit for an app
273
+
v3-delete Delete a V3 App
274
+
v3-start Start an app
275
+
v3-stop Stop an app
276
+
v3-restart Stop all instances of the app, then start them again. This causes downtime.
277
+
v3-stage Create a new droplet for an app
278
+
v3-restart-app-instance Terminate, then instantiate an app instance
279
+
v3-apply-manifest Applies manifest properties to an application
280
+
v3-droplets List droplets of an app
281
+
v3-set-droplet Set the droplet used to run an app
282
+
v3-env Show all env variables for an app
283
+
v3-set-env Set an env variable for an app
284
+
v3-unset-env Remove an env variable from an app
285
+
v3-get-health-check Show the type of health check performed on an app
286
+
v3-set-health-check Change type of health check performed on an app's process
0 commit comments