Class: Bosh::Cli::Command::Bootstrap
- Inherits:
-
Base
- Object
- Base
- Bosh::Cli::Command::Bootstrap
- Defined in:
- lib/bosh/cli/commands/bootstrap.rb
Instance Method Summary collapse
Instance Method Details
#delete ⇒ Object
36 37 38 39 40 |
# File 'lib/bosh/cli/commands/bootstrap.rb', line 36 def delete require "bosh-bootstrap/cli/commands/delete" cmd = Bosh::Bootstrap::Cli::Commands::Delete.new cmd.perform end |
#deploy ⇒ Object
20 21 22 23 24 |
# File 'lib/bosh/cli/commands/bootstrap.rb', line 20 def deploy require "bosh-bootstrap/cli/commands/deploy" deploy_cmd = Bosh::Bootstrap::Cli::Commands::Deploy.new deploy_cmd.perform end |
#help ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/bosh/cli/commands/bootstrap.rb', line 9 def help say("bosh bootstrap sub-commands:") nl cmds = Bosh::Cli::Config.commands.values.find_all {|c| c.usage =~ /^bootstrap/ } Bosh::Cli::Command::Help.list_commands(cmds) end |
#ssh ⇒ Object
28 29 30 31 32 |
# File 'lib/bosh/cli/commands/bootstrap.rb', line 28 def ssh require "bosh-bootstrap/cli/commands/ssh" cmd = Bosh::Bootstrap::Cli::Commands::SSH.new cmd.perform end |