def METHOD_NAME(self, args, unknown_args):
    check_branch(args)
    environment = get_environment(args.env_name)
    environment.release_name = args.resume or datetime.utcnow().strftime(DATE_FMT)
    deploy_component = args.component
    if not deploy_component:
        deploy_component = ['commcare']
        if environment.meta_config.always_deploy_formplayer:
            deploy_component.append('formplayer')
    rc = 0
    if 'commcare' in deploy_component:
        if 'formplayer' not in deploy_component:
            _warn_no_formplayer()
        try:
            rc = deploy_commcare(environment, args, unknown_args)
        except BadAnsibleResult as e:
            print(color_error(str(e)))
            rc = 1
    if 'formplayer' in deploy_component:
        _warn_about_non_formplayer_args(args)
        if rc:
            print(color_error("Skipping formplayer because commcare failed"))
        else:
            rc = deploy_formplayer(environment, args)
    return rc