diff options
author | Martin Vilcans <martin@librador.com> | 2011-11-06 00:39:47 +0100 |
---|---|---|
committer | Martin Vilcans <martin@librador.com> | 2011-11-06 00:39:47 +0100 |
commit | a7f8938b10877ff207688b3ff02f62c55e6c1266 (patch) | |
tree | fcf40a263e17cd9c514f4d6b1cbb1589ff93c259 /bin | |
parent | 502eacc1feff8f7a5d094fd7eb5af47906287137 (diff) | |
download | screenplain-a7f8938b10877ff207688b3ff02f62c55e6c1266.tar.gz |
Added script for running Screenplain.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/screenplain | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/screenplain b/bin/screenplain new file mode 100755 index 0000000..ad6a673 --- /dev/null +++ b/bin/screenplain @@ -0,0 +1,9 @@ +#!/usr/bin/env python +import sys +from os.path import dirname, join, abspath, pardir + +if __name__ == '__main__': + p = abspath(join(dirname(__file__), pardir)) + sys.path.append(p) + from screenplain.main import main + main(sys.argv[1:]) |