summaryrefslogtreecommitdiffstats
path: root/src/nbblib/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/nbblib/commands.py')
-rw-r--r--src/nbblib/commands.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nbblib/commands.py b/src/nbblib/commands.py
index 7ef444b..5fe6e98 100644
--- a/src/nbblib/commands.py
+++ b/src/nbblib/commands.py
@@ -81,10 +81,12 @@ class Command(object):
self.kwargs = kwargs
self.context = kwargs['context']
+ @plugins.abstractmethod
def run(self):
"""Run the command"""
- raise NotImplementedError()
+ pass
+ # Candidate for abstractmethod
def validate_args(self, *args, **kwargs):
"""Validate command line arguments"""
print "Command: ", self.name