view MoinMoin/script/cli/show.py @ 670:687633456631

MoinMoin.script: move _util stuff to __init__
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 20 May 2006 23:40:21 +0200
parents 80d0ad85a2d8
children da5623bc6819
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - cli show script

    Just run a CLI request and show the output.

    @copyright: 2006 by Thomas Waldmann
    @license: GNU GPL, see COPYING for details.
"""

from MoinMoin.script import MoinScript

class PluginScript(MoinScript):
    """ show page script class """

    def __init__(self, argv, def_values):
        MoinScript.__init__(self, argv, def_values)
    
    def mainloop(self):
        self.init_request()
        self.request.run()