From ea8763fd0d0910afad37eb77a965ffbd0a2cf3b7 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 15 Dec 2013 17:02:05 +0100 Subject: Initial commit --- scripts/topple | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/topple (limited to 'scripts/topple') 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()) -- cgit v1.2.3-54-g00ecf