# File lib/guard/interactor.rb, line 143 def process_input(line) scopes, action, rest = extract_scopes_and_action(line) case action when :help help when :show ::Guard::DslDescriber.show(::Guard.options) when :stop ::Guard.stop exit when :pause ::Guard.pause when :reload ::Guard.reload(scopes) when :change ::Guard.within_preserved_state do ::Guard.runner.run_on_changes(rest, [], []) end when :run_all ::Guard.run_all(scopes) when :notification toggle_notification else ::Guard::UI.error "Unknown command #{ line }" end end