Class: Balancer::CLI
Instance Method Summary
collapse
Methods inherited from Command
alter_command_description, command_help, dispatch, website
Instance Method Details
#completion(*params) ⇒ Object
20
21
22
|
# File 'lib/balancer/cli.rb', line 20
def completion(*params)
Completer.new(CLI, *params).run
end
|
#completion_script ⇒ Object
#hello(name = "you") ⇒ Object
9
10
11
12
|
# File 'lib/balancer/cli.rb', line 9
def hello(name="you")
puts "from: #{options[:from]}" if options[:from]
puts "Hello #{name}"
end
|
#version ⇒ Object
31
32
33
|
# File 'lib/balancer/cli.rb', line 31
def version
puts VERSION
end
|