aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/screenplain9
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:])