tools/cr/cr/commands/command.py
def ConsumeArgs(self, parser, reason):
    """Adds a remaining argument consumer to the parser.

    A helper method that commands can use to consume all remaining arguments.
    Use for things like lists of targets.
    Args:
      parser: The parser to consume remains for.
      reason: The reason to give the user in the help text.
    """
    parser.add_argument(
        '_remains', metavar='arguments',
        nargs=argparse.REMAINDER,
        help='The additional arguments to {0}.'.format(reason)
    )
Adds a remaining argument consumer to the parser.

    A helper method that commands can use to consume all remaining arguments.
    Use for things like lists of targets.
    Args:
      parser: The parser to consume remains for.
      reason: The reason to give the user in the help text.
    
Adds a remaining argument consumer to the parser.
A helper method that commands can use to consume all remaining arguments.
Use for things like lists of targets.
Adds a remaining argument consumer to the parser . A helper method that commands can use to consume all remaining arguments . Use for things like lists of targets .
def ConsumeArgs(self, parser, reason):
    parser.add_argument(
        '_remains', metavar='arguments',
        nargs=argparse.REMAINDER,
        help='The additional arguments to {0}.'.format(reason)
    )
def ConsumeArgs ( self , parser , reason ) : parser . add_argument ( '_remains' , metavar = 'arguments' , nargs = argparse . REMAINDER , help = 'The additional arguments to {0}.' . format ( reason ) )
Adds a remaining argument consumer to the parser.
Adds a remaining argument consumer to the parser .
"""Adds a remaining argument consumer to the parser.

    A helper method that commands can use to consume all remaining arguments.
    Use for things like lists of targets.
    Args:
      parser: The parser to consume remains for.
      reason: The reason to give the user in the help text.
    """
self
parser
The parser to consume remains for.
The parser to consume remains for .
reason
The reason to give the user in the help text.
The reason to give the user in the help text .