Sha256: 92a2db2ca623e58e45d8f1c2d13d3f5833638ed221e4ef76fddea98baa116163

Contents?: true

Size: 775 Bytes

Versions: 32

Compression:

Stored size: 775 Bytes

Contents

require "thor"
require "bosh-bootstrap"

module Bosh::Bootstrap
  class ThorCli < Thor

    desc "deploy", "Configure and bootstrap a micro bosh; or deploy/upgrade existing Micro Bosh"
    def deploy
      require "bosh-bootstrap/cli/commands/deploy"
      deploy_cmd = Bosh::Bootstrap::Cli::Commands::Deploy.new
      deploy_cmd.perform
    end

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

    desc "delete", "Delete existing Micro Bosh (does not delete any bosh deployments running)"
    def delete
      require "bosh-bootstrap/cli/commands/delete"
      cmd = Bosh::Bootstrap::Cli::Commands::Delete.new
      cmd.perform
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
bosh-bootstrap-0.18.1 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.18.0 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.17.1 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.17.0 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.16.2 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.16.1 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.16.0 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.15.0 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.14.5 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.14.4 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.14.3 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.14.2 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.14.1 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.14.0 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.13.2 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.13.1 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.13.0 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.12.0 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.11.15 lib/bosh-bootstrap/thor_cli.rb
bosh-bootstrap-0.11.14 lib/bosh-bootstrap/thor_cli.rb