module Pagoda::Command class Help < Base def index display %{ Pagoda NAME pagoda -- command line utility for pagodabox.com SYNOPSIS pagoda [command] [parameters] DESCRIPTION If no operands are given, we will attempt to pull data from the current directory. If more than one operand is given, non-directory operands are displayed first. The following options are available: COMMANDS list # list your apps deploy # Deploy your current state to pagoda launch # create (register) a new app info # display info about an app destroy # remove app rollback # rollback app tunnel # create a tunnel to your database on pagoda PARAMETERS --------------------------- GLOBAL : --------------------------- -a | --app= Set the application name (Only necessary when not in repo dir). -u | --username= When set, will not attempt to save your username. Also over-rides any saved username. -p | --password= When set, will not attempt to save your password. Also over-rides any saved password. -f Executes all commands without confirmation request. --------------------------- DEPLOYING - pagoda deploy : --------------------------- -b | --branch= Specify the branch name. By default uses the branch your local repo is on. -c | --commit= Specify the commit id. By default uses the commit HEAD is set to. --latest Will attempt to deploy to the latest commit on github rather than your local repo's current commit. --------------------------- TUNNELING - pagoda tunnel : --------------------------- -t | --type= Specify the tunnel type. (ex:mysql) -n | --name= Specify the instance name you want to operate on used for database instance EXAMPLES launch an application on pagoda from inside the clone folder: (must be done inside your repo folder) pagoda launch list your applications: pagoda list create tunnel to your database: (must be inside your repo folder or specify app) pagoda tunnel -a -t mysql -n destroy an application: (must be inside your repo folder or specify app) pagoda destroy } end end end