diff options
Diffstat (limited to 'cliff/command.py')
-rw-r--r-- | cliff/command.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cliff/command.py b/cliff/command.py index 7ff526e..e369988 100644 --- a/cliff/command.py +++ b/cliff/command.py @@ -32,6 +32,13 @@ class Command(object): return parser @abc.abstractmethod + def take_action(self, parsed_args): + """Return a two-part tuple with a tuple of column names + and a tuple of values. + """ + def run(self, parsed_args): """Do something useful. """ + self.take_action(parsed_args) + return 0 |