From aaf7335e5cc3ad7a54311fd2f6aec76d6f42584c Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Sun, 14 Mar 2010 00:06:21 -0600 Subject: [PATCH 1/1] Shell of commit command --- src/mw/clicommands.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mw/clicommands.py b/src/mw/clicommands.py index 3c0b448..fd5e69c 100644 --- a/src/mw/clicommands.py +++ b/src/mw/clicommands.py @@ -148,3 +148,13 @@ class DiffCommand(CommandBase): print self.metadir.diff_rv_to_working( mw.api.filename_to_pagename(file[:-5]) ), + + +class CommitCommand(CommandBase): + + def __init__(self): + CommandBase.__init__(self, 'commit', 'commit changes to wiki') + + def _do_command(self): + self._die_if_no_init() + self._api_setup() -- 2.39.5