Flesh out command stack execution.
[hooke.git] / hooke / command.py
index c694bff28c0d7b2ea8625672017fb186074c1ba5..d88155c7a69cf1dc6b414da28ab683e32ead828b 100644 (file)
@@ -109,6 +109,8 @@ class Command (object):
         self.arguments = [
             Argument(name='help', type='bool', default=False, count=1,
                      help='Print a help message.'),
+            Argument(name='stack', type='bool', default=True, count=1,
+                     help='Add this command to appropriate command stacks.'),
             ] + arguments
         self._help = help
         self.plugin = plugin