Merge pull request #7 from fordhurley/print-command

Print out the fucking command before running it
This commit is contained in:
Vladimir Iakovlev
2015-04-17 22:30:26 +02:00
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -71,6 +71,7 @@ def get_matched_rule(command, rules, settings):
def run_rule(rule, command, settings):
"""Runs command from rule for passed command."""
new_command = rule.get_new_command(command, settings)
sys.stderr.write(new_command + '\n')
print(new_command)