lib/kicker/recipes/execute_cli_command.rb in kicker-3.0.0pre1 vs lib/kicker/recipes/execute_cli_command.rb in kicker-3.0.0pre2
- old
+ new
@@ -1,9 +1,9 @@
options.on('-e', '--execute [COMMAND]', 'The command to execute.') do |command|
callback = lambda do |files|
files.clear
execute "sh -c #{command.inspect}"
end
-
+
startup callback
pre_process callback
end