tools/cr/cr/commands/command.py
def Select(cls):
    """Called to select which command is active.

    This picks a command based on the first non - argument on the command
    line.
    Returns:
      the selected command, or None if not specified on the command line.
    """
    if cr.context.args:
      return getattr(cr.context.args, '_command', None)
    return None
Called to select which command is active.

    This picks a command based on the first non - argument on the command
    line.
    Returns:
      the selected command, or None if not specified on the command line.
    
Called to select which command is active.
This picks a command based on the first non - argument on the command
line.
Called to select which command is active . This picks a command based on the first non - argument on the command line .
def Select(cls):
    if cr.context.args:
      return getattr(cr.context.args, '_command', None)
    return None
def Select ( cls ) : if cr . context . args : return getattr ( cr . context . args , '_command' , None ) return None
Called to select which command is active.
Called to select which command is active .
"""Called to select which command is active.

    This picks a command based on the first non - argument on the command
    line.
    Returns:
      the selected command, or None if not specified on the command line.
    """
the selected command, or None if not specified on the command line.
the selected command or None if not specified on the command line .
cls