Class: Bosh::Cli::Command::CloudFoundryHelp

Inherits:
Base
  • Object
show all
Defined in:
lib/bosh/cli/commands/99_cf_help.rb

Instance Method Summary collapse

Instance Method Details

#cf_helpObject



6
7
8
9
10
11
12
13
# File 'lib/bosh/cli/commands/99_cf_help.rb', line 6

def cf_help
  say("bosh cf sub-commands:")
  nl
  cmds = Bosh::Cli::Config.commands.values.find_all {|c|
    c.usage =~ /cf/
  }
  Bosh::Cli::Command::Help.list_commands(cmds)
end