Class: ConsulStockpile::CLI
- Inherits:
-
Thor
- Object
- Thor
- ConsulStockpile::CLI
- Defined in:
- lib/consul_stockpile/cli.rb
Instance Method Summary collapse
Instance Method Details
#bootstrap_external_services ⇒ Object
26 27 28 29 30 |
# File 'lib/consul_stockpile/cli.rb', line 26 def bootstrap_external_services $stdout.sync = true require 'consul_stockpile/bootstrap_external_services' BootstrapExternalServices.call end |
#start ⇒ Object
15 16 17 18 19 20 21 22 23 |
# File 'lib/consul_stockpile/cli.rb', line 15 def start $stdout.sync = true require 'consul_stockpile/run_stockpile' RunStockpile.call( bucket: [:bucket], name: [:name], verbose: [:verbose] ) end |
#version ⇒ Object
6 7 8 9 |
# File 'lib/consul_stockpile/cli.rb', line 6 def version require 'consul_stockpile/version' say ConsulStockpile::VERSION.to_s end |