code: def autocommand(func):
      
      name = func.__name__
      title, desc = command.parse_docstring(func)
      if not title:
          title = 'Auto command for: %s' % name
      if not desc:
          # Prevent Command from using docstring of AutoCommand
          desc = ' '
      return AutoCommand(title=title, desc=desc, name=name, func=func)
docs: A simplified decorator for making a single function a Command
      instance.  In the future this will leverage PEP0484 to do really smart
      function parsing and conversion to argparse actions.