(fn)
| 22 | # Decorator prepending argv with the git sub-command found with the method |
| 23 | # name. |
| 24 | def git_cmd(fn): |
| 25 | # function name is the subcommand |
| 26 | sub_cmd = fn.__name__.replace("_", "-") |
| 27 | |
| 28 | def wrapper(self, *argv, **kwargs): |
| 29 | return fn(self, sub_cmd, *argv, **kwargs) |
| 30 | return wrapper |
| 31 | |
| 32 | |
| 33 | class Git(Command): |
nothing calls this directly
no outgoing calls
no test coverage detected