Class: Bosh::Deployer::ThorCli
- Inherits:
-
Thor
- Object
- Thor
- Bosh::Deployer::ThorCli
- Defined in:
- lib/bosh-deployer/thor_cli.rb
Instance Method Summary collapse
Instance Method Details
#generate_stub(name) ⇒ Object
15 16 17 18 19 |
# File 'lib/bosh-deployer/thor_cli.rb', line 15 def generate_stub(name) cmd = Bosh::Deployer::Cli::Commands::GenerateStub.new( name, 'cookbooks/ci_infrastructure_cf/files/default/stubs') cmd.perform end |
#provision_stemcells(manifest_path = nil) ⇒ Object
8 9 10 11 12 |
# File 'lib/bosh-deployer/thor_cli.rb', line 8 def provision_stemcells(manifest_path = nil) require "bosh-deployer/cli/commands/provision_stemcells" deploy_cmd = Bosh::Deployer::Cli::Commands::ProvisionStemcells.new deploy_cmd.perform(manifest_path) end |