lib/app42/base/help.rb in app42-0.6.0 vs lib/app42/base/help.rb in app42-0.6.1
- old
+ new
@@ -43,10 +43,13 @@
deleteInfra # Delete the Infrastructure environment
apps # List all the deployed applications with their meta details
appInfo # Show meta information of the application
appState # Show current state of the application
logs # Returns the log file URL(s) for the application
+ addCustomURL # Add a custom URL to an app
+ removeCustomURL # Remove a custom URL from an app
+ customURLInfo # List all custom URLs of an app
Services
createService # Creates a new service e.g. MySQL, MongoDB, CouchDB, PostgreSQL etc.
deleteService # Delete provisioned service
startService # Start the service
@@ -1090,14 +1093,13 @@
Example:
$app42 upgradeBPaaS
Enter Setup Name: demo
- 1: Light
- 2: Medium
- 3: Heavy
- Select Flavour [Light]: 2
+ 1: Medium
+ 2: Heavy
+ Select Flavour [Medium]: 2
Upgrading Setup... OK
Operation is in progress, Please wait...-
@@ -1206,14 +1208,13 @@
Example:
$app42 upgradeWordPress
Enter Setup Name: demo
- 1: Light
- 2: Medium
- 3: Heavy
- Select Flavour [Light]: 2
+ 1: Medium
+ 2: Heavy
+ Select Flavour [Medium]: 2
Upgrading Setup... OK
Operation is in progress, Please wait...-
@@ -1303,9 +1304,69 @@
| 2014-01-02 10:10:38.0 | http://demowordpress.iaa.app42paas.com | demo | Amazon (Northern Virginia) | WP | Shared | medium | RUNNING |
+-----------------------+----------------------------------------+------------+----------------------------+------------+---------+---------------+--------------+
DESC
end
+
+ def addcustomurl
+ print <<-DESC
+Usage:
+ app42 addCustomURL
+
+ Add a custom URL to an app
+
+Example:
+ $app42 addCustomURL
+ Enter App Name: demo
+
+ Enter Custom URL: http://test.naveengoswami.com
+
+ Adding Custom URL To Application demo... OK
+ Custom URL added successfully.
+
+ DESC
+ end
+
+ def removecustomurl
+ print <<-DESC
+Usage:
+ app42 removeCustomURL
+
+ Remove a custom URL from an app
+
+Example:
+ $ app42 removeCustomURL
+ Enter App Name: demo
+
+ Enter Custom URL: http://test.naveengoswami.com
+
+ Removing Custom URL... OK
+ Custom URL deleted successfully.
+
+ DESC
+ end
+
+ def customurlinfo
+ print <<-DESC
+Usage:
+ app42 customURLInfo
+
+ List all custom URLs of an app
+
+Example:
+ $app42 customURLInfo
+ Enter App Name: demo
+
+ +----------+-----------------------+-------------------------------+
+ | === testPhp Custome URLs Details === |
+ +----------+-----------------------+-------------------------------+
+ | App Name | Created On | Url |
+ +-------------+-----------------------+----------------------------+
+ | demo | 2014-01-27 06:35:55.0 | http://test.naveengoswami.com |
+ +----------+-----------------------+-------------------------------+
+
+ DESC
+ end
def version
print <<-DESC
Usage:
app42 version