lib/kicker/recipes/execute_cli_command.rb in kicker-2.1.0 vs lib/kicker/recipes/execute_cli_command.rb in kicker-2.2.0

- old
+ new

@@ -1,5 +1,5 @@ -Kicker.option_parser.on('-e', '--execute [COMMAND]', 'The command to execute.') do |command| +options.on('-e', '--execute [COMMAND]', 'The command to execute.') do |command| callback = lambda do |files| files.clear execute "sh -c #{command.inspect}" end