bin/contexto in contexto-0.2.1 vs bin/contexto in contexto-0.2.2
- old
+ new
@@ -10,17 +10,19 @@
$stderr.sync = true
options = {}
options[:console] = false
+options[:ssh] = false
optparse = OptionParser.new do |opts|
opts.banner = 'Usage: contexto [options]'
opts.on('-c', '--cluster CLUSTER', 'Cluster') { |v| options[:cluster] = v }
opts.on('-s', '--service SERVICE', 'Service') { |v| options[:service] = v }
opts.on('-t', '--container CONTAINER', 'Container') { |v| options[:container] = v }
opts.on('-r', '--rake COMMAND', 'Rake command') { |v| options[:rake] = v }
opts.on('-b', '--console') { options[:console] = true }
+ opts.on('-f', '--ssh') { options[:ssh] = true }
end
begin
optparse.parse!
mandatory = []