diff options
Diffstat (limited to 'scripts/topple')
-rwxr-xr-x | scripts/topple | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/topple b/scripts/topple new file mode 100755 index 0000000..f09e9ae --- /dev/null +++ b/scripts/topple @@ -0,0 +1,13 @@ +#!/usr/bin/env python + +import sys + +import topple.topple + +if __name__ == '__main__': + cmd = topple.topple.Topple(sys.argv[1:]) + if cmd.error: + print('error: {0}'.format(cmd.error)) + sys.exit(1) + else: + sys.exit(cmd.run()) |