Class: Bosh::Bootstrap::ThorCli

Inherits:
Thor
  • Object
show all
Defined in:
lib/bosh-bootstrap/thor_cli.rb

Instance Method Summary collapse

Instance Method Details

#deleteObject



22
23
24
25
26
# File 'lib/bosh-bootstrap/thor_cli.rb', line 22

def delete
  require "bosh-bootstrap/cli/commands/delete"
  cmd = Bosh::Bootstrap::Cli::Commands::Delete.new
  cmd.perform
end

#deployObject



8
9
10
11
12
# File 'lib/bosh-bootstrap/thor_cli.rb', line 8

def deploy
  require "bosh-bootstrap/cli/commands/deploy"
  deploy_cmd = Bosh::Bootstrap::Cli::Commands::Deploy.new
  deploy_cmd.perform
end

#sshObject



15
16
17
18
19
# File 'lib/bosh-bootstrap/thor_cli.rb', line 15

def ssh
  require "bosh-bootstrap/cli/commands/ssh"
  cmd = Bosh::Bootstrap::Cli::Commands::SSH.new
  cmd.perform
end