def METHOD_NAME(self, args, unknown_args):
    if args.list or not args.fab_command:
        lines = _format_commands()
    else:
        if args.fab_command in ('deploy', 'awesome_deploy'):
            self.print_deploy_deprecation()
            return -1
        try:
            new_command = COMMANDS[args.fab_command]
        except KeyError:
            print(f"unknown command: {args.fab_command}")
            return -1
        lines = [color_error("This command is obsolete.") + " It has been replaced by", ""]
        lines.append(_format_command(new_command).lstrip('\n'))
    print("\n".join(lines))
    return -1