Print out the fucking command before running it

This commit is contained in:
Ford Hurley
2015-04-17 16:04:09 -04:00
parent d32177e9b3
commit 11cbb9e1f7
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)