lib/mikoshi/cli.rb in mikoshi-0.5.0 vs lib/mikoshi/cli.rb in mikoshi-0.5.1
- old
+ new
@@ -30,12 +30,12 @@
parse
exit_when_flag
case @options[:command]
when :update_task_definition
- update_task_definition(@options[:config][:task_definition])
+ update_task_definition(@options[:config][:task_definition] || @argv[1])
when :update_service
- update_service(@options[:config][:service])
+ update_service(@options[:config][:service] || @argv[1])
when :deploy
deploy
when :version
version
when :help