docs: def command(self, *args, **kwargs):
          """Convenient decorator simply creates corresponding command"""
          if len(args) == 1 and isinstance(args[0], collections.Callable):
              return self._generate_command(args[0])
          else:
              def _command(func):
                  return self._generate_command(func, *args, **kwargs)
              return _command