class Octo::Octo

Public Instance Methods

run() click to toggle source
# File lib/chef/knife/octo.rb, line 681
    def run
      puts <<-EOH
            ** OCTO COMMANDS **
          You may use these flags
              --long or -l
  The long flag helps with more information

knife octo variables list
knife octo variables show 'name'
knife octo env list
knife octo env show 'name'
knife octo machine list
knife octo machine show 'name'

knife octo project list --  The long option for the said command will display the last 30 releases created for the said project with other details.

            ** project show **
Supports two additional flags in addition to --long
            --release or -r
              --env or -e
knife octo project show 'name'
knife octo project show 'name' -r 'release number'
knife octo project show 'name' -r 'release number' -e 'environment' -- The said command will display the outcome of the process if a deployment were to be triggered on the said environment and release.


EOH
    end