changeset 1021:fdd573c2808c

add a new moin command called moinshell, that runs a python shell with preseted flaskg variables
author Fabio Montefuscolo <fabio.montefuscolo@gmail.com>
date Sat, 29 Oct 2011 18:49:36 -0200
parents 57f6267eb050
children 2256d29e3cd5
files MoinMoin/script/__init__.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/__init__.py	Sat Oct 29 18:41:42 2011 -0200
+++ b/MoinMoin/script/__init__.py	Sat Oct 29 18:49:36 2011 -0200
@@ -51,6 +51,9 @@
     from MoinMoin.script.migration.moin19.import19 import ImportMoin19
     manager.add_command("import19", ImportMoin19())
 
+    from MoinMoin.script.maint.moinshell import MoinShell
+    manager.add_command("moinshell", MoinShell())
+
     return manager.run(default_command=default_command)