view MoinMoin/script/cli/ @ 4258:3f8be25b79cc

Replaced use of request_cli with ScriptContext (all occurrences)
author Florian Krupicka <>
date Fri, 01 Aug 2008 00:06:14 +0200
parents 2572688e031a
children a20de9383481
line wrap: on
line source

# -*- coding: iso-8859-1 -*-
MoinMoin - cli show script

@copyright: 2006 MoinMoin:ThomasWaldmann
@license: GNU GPL, see COPYING for details.

from MoinMoin.script import MoinScript
from MoinMoin.wsgiapp import run

class PluginScript(MoinScript):
Just run a CLI request and show the output.

Detailed Instructions:
General syntax: moin [options] cli show

[options] usually should be:

    def __init__(self, argv, def_values):
        MoinScript.__init__(self, argv, def_values)

    def mainloop(self):