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