class documentation

class cmd_rev_parse(Command):

View In Hierarchy

Parse revision and other objects.

Method run Execute the rev-parse command.
def run(self, args: Sequence[str]) -> int: ΒΆ

Execute the rev-parse command.

Parameters
args:Sequence[str]Command line arguments
Returns
intExit code (0 for success)