Method: App42::Base::Help.commands
- Defined in:
- lib/app42/base/help.rb
.commands ⇒ Object
list available commands or display help for a specific command
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/app42/base/help.rb', line 15 def self.commands print "\n \#{how_to}\n\n Thank You for installing App42 PaaS Ruby Client! This is a powerful tool to make your Applications live with-in minutes.\n App42 PaaS is world's most advanced PaaS solution which supports multiple languages(Java, PHP, Ruby, Nodejs) and services\n (RDBMS like MySQL and PostgreSQL to NoSQL storage like MongoDB, Redis and CouchDB). To Get Started Signup at app42paas.shephertz.com,\n get your API Key and Secret key after you login and finally use App42 command to push your code to cloud. Enjoy Coding!! \n\n Key\n keys # List API key and Secret key\n addKeys # Add API key and Secret key\n clearKeys # Clear API key and Secret key\n\n Applications \n setupInfra # Setup your deployment and runtime environment i.e. Instance(Memory, CPU) and Technology Stack\n deploy # Deploy the application over your runtime environment\n update # Update the application over your runtime environment\n scale # Scale application either by number of instance(s) OR kontena(s)\n descale # Descale application either by number of instance(s) OR kontena(s)\n start # Start the application\n stop # Stop the application\n restart # Restart the application\n deleteInfra # Delete the Infrastructure environment\n apps # List all the deployed applications with their meta details\n appInfo # Show meta information of the application\n appState # Show current state of the application\n logs # Returns the log file URL(s) for the application\n addCustomURL # Add a custom URL to an app\n removeCustomURL # Remove a custom URL from an app\n customURLInfo # List all custom URL(s) of an app\n\n Services \n createService # Creates a new service e.g. MySQL, MongoDB, CouchDB, PostgreSQL, Redis etc.\n deleteService # Delete provisioned service\n startService # Start the service\n restartService # Restart the service\n stopService # Stop the service\n resetServicePassword # Reset password of provisioned service\n scaleService # Vertically scale service by number of Kontena(s)\n descaleService # Vertically descale services by number of Kontena(s)\n uploadBackup # Upload existing backup into a service\n bindIP # Bind IP to provisioned service\n unbindIP # Unbind IP from provisioned service\n bindInfo # Show IP bind information related to provisioned service\n services # List all the provisioned services with their meta details\n serviceInfo # Show meta information of the provisioned service\n\n BPaaS\n setupBPaaS # Setup App42 BPaaS by choosing required configuration\n deleteBPaaS # Delete the BPaaS setup\n startBPaaS # Start the BPaaS setup\n stopBPaaS # Stop the BPaaS setup\n restartBPaaS # Restart the BPaaS setup\n upgradeBPaas # Upgrade BPaaS by choosing required configuration\n downgradeBPaas # Downgrade BPaaS by choosing required configuration\n bPaaSInfo # Show BPaaS setup information\n bPaaSSetups # List all the BPaaS setups\n\n WordPress\n setupWordPress # Setup App42 WordPress by choosing required configuration\n deleteWordPress # Delete the WordPress setup\n startWordPress # Start the WordPress setup\n stopWordPress # Stop the WordPress setup\n restartWordPress # Restart the WordPress setup\n upgradeWordPress # Upgrade WordPress by choosing required configuration\n downgradeWordPress # Downgrade WordPress by choosing required configuration\n wordPressInfo # Show WordPress setup information\n wordPressSetups # List all the WordPress setups\n\n GPaaS\n setupGPaaS # Setup App42 GPaaS by choosing required configuration\n deleteGPaaS # Delete the GPaaS setup\n startGPaaS # Start the GPaaS setup\n stopGPaaS # Stop the GPaaS setup\n restartGPaaS # Restart the GPaaS setup\n upgradeGPaas # Upgrade GPaaS by choosing required configuration\n downgradeGPaas # Downgrade GPaaS by choosing required configuration\n gPaaSInfo # Show GPaaS setup information\n gPaaSSetups # List all the GPaaS setups\n\n Help\n version # Show Ruby client gem version\n help # List available commands and their description\n COMMAND --help # Display detailed help of a specific command\n\n Misc\n supportedServices # List supported services by App42\n iaasProviders # List supported IaaS providers by App42\n runtimes # List supported runtimes by App42\n activities # List all activities with their status\n USAGE\nend\n" |