lib/cli/usage.rb in af-0.3.18.2 vs lib/cli/usage.rb in af-0.3.18.3
- old
+ new
@@ -32,18 +32,22 @@
Applications
apps List deployed applications
Application Creation
push [appname] Create, push, map, and start a new application
+ push [appname] --infra Push application to specified infrastructure
push [appname] --path Push application from specified path
push [appname] --url Set the url for the application
push [appname] --instances <N> Set the expected number <N> of instances
push [appname] --mem M Set the memory reservation for the application
push [appname] --runtime RUNTIME Set the runtime to use for the application
push [appname] --debug [MODE] Push application and start in a debug mode
push [appname] --no-start Do not auto-start the application
+ Application Download
+ pull <appname> [path] Downloads last pushed source to <appname> or [path]
+
Application Operations
start <appname> [--debug [MODE]] Start the application
stop <appname> Stop the application
restart <appname> [--debug [MODE]] Restart the application
delete <appname> Delete the application
@@ -60,19 +64,20 @@
crashlogs <appname> Display log information for crashed applications
logs <appname> [--all] Display log information for the application
files <appname> [path] [--all] Display directory listing or file download for [path]
stats <appname> Display resource usage for the application
instances <appname> List application instances
-
+
Application Environment
env <appname> List application environment variables
env-add <appname> <variable[=]value> Add an environment variable to an application
env-del <appname> <variable> Delete an environment variable to an application
Services
services Lists of services available and provisioned
create-service <service> [--name,--bind] Create a provisioned service
+ create-service <service> --infra Create a provisioned service on a specified infrastructure
create-service <service> <name> Create a provisioned service and assign it <name>
create-service <service> <name> <app> Create a provisioned service and assign it <name>, and bind to <app>
delete-service [servicename] Delete a provisioned service
bind-service <servicename> <appname> Bind a service to an application
unbind-service <servicename> <appname> Unbind service from the application
@@ -88,9 +93,10 @@
delete-user <user> Delete a user and all apps and services (requires admin privileges)
System
runtimes Display the supported runtimes of the target system
frameworks Display the recognized frameworks of the target system
+ infras Display the available infrastructures
Micro Cloud Foundry
micro status Display Micro Cloud Foundry VM status
micro offline Configure Micro Cloud Foundry VM for offline mode
micro online Configure Micro Cloud Foundry VM for online mode