lib/app42/base/help.rb in app42-0.5.10 vs lib/app42/base/help.rb in app42-0.6.0
- old
+ new
@@ -69,16 +69,27 @@
activities # List all activities with their status
Setup
setupBPaaS # Setup App42 BPaaS by choosing required configuration
deleteSetup # Delete the setup
- startBPaaS # Start the BPaaS
- stopBPaaS # Stop the BPaaS
+ startBPaaS # Start the BPaaS setup
+ stopBPaaS # Stop the BPaaS setup
setupInfo # Show setup information
upgradeBPaas # Upgrade BPaaS by choosing required configuration
+ downgradeBPaas # Downgrade BPaaS by choosing required configuration
setups # List all the setups
+ WordPress
+ setupWordPress # Setup App42 WordPress by choosing required configuration
+ deleteWordPress # Delete the WordPress setup
+ startWordPress # Start the WordPress setup
+ stopWordPress # Stop the WordPress setup
+ upgradeWordPress # Upgrade WordPress by choosing required configuration
+ downgradeWordPress # Downgrade WordPress by choosing required configuration
+ wordPressInfo # Show WordPress setup information
+ wordPressSetups # List all the WordPress setups
+
Help
version # Show Ruby client gem version
help # List available commands and their description
COMMAND --help # Display detailed help of a specific command
USAGE
@@ -1089,12 +1100,212 @@
Upgrading Setup... OK
Operation is in progress, Please wait...-
BPaaS setup demo upgraded successfully.
+ DESC
+ end
+ def downgradebpaas
+ print <<-DESC
+Usage:
+ app42 downgradeBPaaS
+
+ Downgrade BPaaS by choosing required configuration
+
+Example:
+ $app42 downgradeBPaaS
+ Enter Setup Name: demo
+
+ 1: Light
+ 2: Medium
+ Select Flavour [Light]: 2
+
+ Downgrading Setup... OK
+
+ Operation is in progress, Please wait...-
+
+ BPaaS setup demo downgraded successfully.
DESC
end
+
+ def setupwordpress
+ print <<-DESC
+Usage:
+ app42 setupWordPress
+
+ Setup App42 WordPress by choosing required configuration
+
+Example:
+ $app42 setupWordPress
+ Enter WordPress Name: demo
+
+ Checking WordPress Name Availability... OK
+
+ 1: Shared
+ Select Instance Type [Shared]:
+
+ 1: Amazon (Northern Virginia)
+ Select IaaS Provider [Amazon (Northern Virginia)]:
+
+ 1: Light
+ 2: Medium
+ 3: Heavy
+ Select Flavour [Light]:
+
+ Setting up the infrastructure... OK
+
+ Operation is in progress, Please wait...-
+
+ Your WordPress setup has been completed successfully, For details, Login to AppHQ console.
+
+ DESC
+ end
+
+ def startwordpress
+ print <<-DESC
+Usage:
+ app42 startWordPress
+
+ Start the WordPress setup
+
+Example:
+ $app42 startWordPress
+ Enter Setup Name: demo
+ Starting WordPress Setup demo... OK
+
+ Operation is in progress, Please wait...|
+ Setup started successfully.
+
+ DESC
+ end
+
+ def stopwordpress
+ print <<-DESC
+Usage:
+ app42 stopWordPress
+
+ Stop the WordPress setup
+
+Example:
+ $app42 stopWordPress
+ Enter Setup Name: demo
+ Stopping WordPress Setup demo... OK
+
+ Operation is in progress, Please wait...|
+ Setup stopped successfully.
+
+ DESC
+ end
+
+ def upgradewordpress
+ print <<-DESC
+Usage:
+ app42 upgradeWordpress
+
+ Upgrade WordPress by choosing required configuration
+
+Example:
+ $app42 upgradeWordPress
+ Enter Setup Name: demo
+
+ 1: Light
+ 2: Medium
+ 3: Heavy
+ Select Flavour [Light]: 2
+
+ Upgrading Setup... OK
+
+ Operation is in progress, Please wait...-
+
+ WordPress setup demo upgraded successfully.
+ DESC
+ end
+
+ def downgradewordpress
+ print <<-DESC
+Usage:
+ app42 downgradeWordpress
+
+ Downgrade WordPress by choosing required configuration
+
+Example:
+ $app42 upgradeWordPress
+ Enter Setup Name: demo
+
+ 1: Light
+ 2: Medium
+ Select Flavour [Light]: 2
+
+ Downgrading Setup... OK
+
+ Operation is in progress, Please wait...-
+
+ WordPress setup demo downgraded successfully.
+ DESC
+ end
+
+ def deletewordpress
+ print <<-DESC
+Usage:
+ app42 deleteWordPress
+
+ Delete the WordPress setup
+
+Example:
+ $app42 deleteWordPress
+ Enter Setup Name: demo
+ Deleting Setup... OK
+
+ Operation is in progress, Please wait...-
+ Setup deleted successfully.
+ DESC
+ end
+
+ def wordpressinfo
+ print <<-DESC
+
+Usage:
+ app42 wordPressInfo
+
+ Show WordPress setup information
+
+Options:
+ [--setup SETUP] # Name of setup, you want to info
+
+Example:
+ $app42 wordPressInfo
+ Enter Setup Name: demo
+ +-----------------------+----------------------------------------+------------+----------------------------+------------+---------+---------------+--------------+
+ | === demo Details === |
+ +-----------------------+----------------------------------------+------------+----------------------------+------------+---------+---------------+--------------+
+ | Created On | Api Server Url | Setup Name | Iaas Provider | Setup Type | Vm Type | Setup Flavour | Setup Status |
+ +-----------------------+----------------------------------------+------------+----------------------------+------------+---------+---------------+--------------+
+ | 2014-01-02 10:10:38.0 | http://demowordpress.iaa.app42paas.com | demo | Amazon (Northern Virginia) | WP | Shared | medium | RUNNING |
+ +-----------------------+----------------------------------------+------------+----------------------------+------------+---------+---------------+--------------+
+
+ DESC
+ end
+
+ def wordpresssetups
+ print <<-DESC
+Usage:
+ app42 wordPressSetups
+
+ List all the WordPress setups
+
+Example:
+ $app42 wordPressSetups
+ +-----------------------+----------------------------------------+------------+----------------------------+------------+---------+---------------+--------------+
+ | === Setups List === |
+ +-----------------------+----------------------------------------+------------+----------------------------+------------+---------+---------------+--------------+
+ | Created On | App Url | Setup Name | Iaas Provider | Setup Type | Vm Type | Setup Flavour | Setup Status |
+ +-----------------------+----------------------------------------+------------+----------------------------+------------+---------+---------------+--------------+
+ | 2014-01-02 10:10:38.0 | http://demowordpress.iaa.app42paas.com | demo | Amazon (Northern Virginia) | WP | Shared | medium | RUNNING |
+ +-----------------------+----------------------------------------+------------+----------------------------+------------+---------+---------------+--------------+
+
+ DESC
+ end
def version
print <<-DESC
Usage:
app42 version