Class: ConsulBridge::CLI
- Inherits:
-
Thor
- Object
- Thor
- ConsulBridge::CLI
- Defined in:
- lib/consul_bridge/cli.rb
Instance Method Summary collapse
Instance Method Details
#start ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/consul_bridge/cli.rb', line 16 def start $stdout.sync = true require 'consul_bridge/run_bridge' RunBridge.call( bucket: [:bucket], container_name: [:container_name], join_all: [:join_all], verbose: [:verbose] ) end |
#version ⇒ Object
6 7 8 9 |
# File 'lib/consul_bridge/cli.rb', line 6 def version require 'consul_bridge/version' say ConsulBridge::VERSION.to_s end |