def get_new_command(command):
    broken_cmd = re.findall('Error: Unknown command: ([a-z]+)', command.output)[0]
    return replace_command(command, broken_cmd, _brew_commands())
def get_new_command(command):
    broken_cmd = re.findall('Error: Unknown command: ([a-z]+)', command.output)[0]
    return replace_command(command, broken_cmd, _brew_commands())