view MoinMoin/scripts/moin @ 0:77665d8e2254

tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0 (automatically generated log message) imported from: moin--main--1.5--base-0
author Thomas Waldmann <tw-public@gmx.de>
date Thu, 22 Sep 2005 15:09:50 +0000
parents
children
line wrap: on
line source
#!/usr/bin/env python
"""
    MoinMoin CLI interface - not working yet!

"""

import sys
sys.path.insert(0, '/home/twaldmann/moincvs/moin--main')
sys.path.insert(0, '/org/wiki')
sys.path.insert(0, '/org/org.linuxwiki/cgi-bin')

from MoinMoin.request import RequestCLI

def run():
    page = sys.argv[1]
    req = RequestCLI(page)
    req.run()