summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorhierro <hierro>2002-09-02 21:46:44 +0000
committerhierro <hierro>2002-09-02 21:46:44 +0000
commitd4a3aad449723667d5f1e227a6a33b89194cca37 (patch)
tree2527865b73a396246c8b5a8d7dd43ab00dd1f910 /bin
parentcf825aba66d39ffacc7f18dd1a07f56a482576bd (diff)
downloadpython-cheetah-d4a3aad449723667d5f1e227a6a33b89194cca37.tar.gz
'cheetah' command rewrite
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cheetah2
-rw-r--r--bin/cheetah-compile6
2 files changed, 5 insertions, 3 deletions
diff --git a/bin/cheetah b/bin/cheetah
index 414aad6..26c391a 100755
--- a/bin/cheetah
+++ b/bin/cheetah
@@ -1,3 +1,3 @@
#!/usr/bin/env python
from Cheetah.CheetahWrapper import CheetahWrapper
-CheetahWrapper().run() \ No newline at end of file
+CheetahWrapper().main()
diff --git a/bin/cheetah-compile b/bin/cheetah-compile
index f558ea2..5d9ab60 100644
--- a/bin/cheetah-compile
+++ b/bin/cheetah-compile
@@ -1,3 +1,5 @@
#!/usr/bin/env python
-from Cheetah.CheetahCompile import CheetahCompile
-CheetahCompile().run() \ No newline at end of file
+import sys
+from Cheetah.CheetahWrapper import CheetahWrapper
+sys.argv.insert(1, "compile")
+CheetahWrapper().main()