class documentation

class cmd_show_branch(Command):

View In Hierarchy

Show branches and their commits.

Method run Execute the show-branch command.
def run(self, args: Sequence[str]) -> int | None: ΒΆ

Execute the show-branch command.

Parameters
args:Sequence[str]Command line arguments
Returns
int | NoneExit code (0 for success, 1 for error)