Source

adama / src / adama / commandment.py

Diff from to

src/adama/commandment.py

     examples = ''
     version = ''
 
-    def __init__(self, command, module):
+    def __init__(self, module, command=''):
         self.command = command
         self.module = module
 
 
     __orders = {}
 
-    def __init__(self, command, module, doc):
-        super(Commander, self).__init__(command, module)
+    def __init__(self, module, command='', doc=''):
+        super(Commander, self).__init__(module, command=command)
         self.doc = doc if doc else __doc__
 
     @property
                     subpackage = '{0}.{1}'.format(app_orders, name)
                     if subpackage not in sys.modules:
                         __import__(subpackage)
-                    self.__orders[name] = sys.modules[subpackage].Order(
-                        self.command, self.module)
+                    self.__orders[name] = sys.modules[subpackage].Order()
 
         return self.__orders
 
     to define a command
     """
 
-    def __init__(self, command, module):
-        super(BaseOrder, self).__init__(command, module)
+    def __init__(self, module, command=''):
+        super(BaseOrder, self).__init__(module, command='')
         self.name = self.__class__.__module__.split('.')[-1] \
 
     def usage(self):