@for_app('tar')
def match(command):
    return ('-C' not in command.script
            and _is_tar_extract(command.script)
            and _tar_file(command.script_parts) is not None)
dataset/ETHPy150Open nvbn/thefuck/thefuck/rules/dirty_untar.py/match/original