class documentation

class cmd_show_ref(Command):

View In Hierarchy

List references in a local repository.

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

Execute the show-ref command.

Parameters
args:Sequence[str]Command line arguments
Returns
int | NoneExit code (0 for success, 1 for error/no matches, 2 for missing ref with --exists)