view MoinMoin/scripts/moin @ 35:f0af060fb82b

making people choose the right approach to page_front_page imported from: moin--main--1.5--patch-36
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 25 Sep 2005 14:45:38 +0000
parents 77665d8e2254
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()