X-Git-Url: https://projects.mako.cc/source/mw/blobdiff_plain/2580aa656abd825022506cb48ba5e34e50b61eb0..aaf7335e5cc3ad7a54311fd2f6aec76d6f42584c:/src/mw/clicommands.py 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()