lib/rundock/cli.rb in rundock-1.0.7 vs lib/rundock/cli.rb in rundock-1.0.8

- old
+ new

@@ -62,9 +62,18 @@ opts = {} Runner.run(opts.merge(options.deep_symbolize_keys)) end + desc 'configure [options]', 'Configure rundock options' + option :ssh, type: :boolean, default: true + option :ssh_config_path, type: :string, aliases: ['-s'], default: "#{Dir.home}/default_ssh.yml" + def configure + opts = {} + + Configure.start(opts.merge(options.deep_symbolize_keys)) + end + def method_missing(command, *args) help end end end