From: Ian Weller Date: Mon, 8 Mar 2010 05:23:33 +0000 (-0600) Subject: Add diff command that does a whole lot of nothing X-Git-Url: https://projects.mako.cc/source/mw/commitdiff_plain/abc9f97a3b51a1998b73b4e5f937eb67c373b20e?ds=sidebyside Add diff command that does a whole lot of nothing --- diff --git a/src/mw/clicommands.py b/src/mw/clicommands.py index c940bd9..95d1fe8 100644 --- a/src/mw/clicommands.py +++ b/src/mw/clicommands.py @@ -129,3 +129,12 @@ class StatusCommand(CommandBase): status = self.metadir.working_dir_status() for file in status: print '%s %s' % (status[file], file) + + +class DiffCommand(CommandBase): + + def __init__(self): + CommandBase.__init__(self, 'diff', 'diff wiki to working directory') + + def _do_command(self): + self._die_if_no_init()