"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveInitLocale = resolveInitLocale;
const catalog_1 = require("../../i18n/catalog");
const locale_1 = require("../locale");
async function resolveInitLocale(cwd, options) {
    return (0, catalog_1.isAppLocale)(options.language)
        ? options.language
        : await (0, locale_1.loadCommandLocale)(cwd);
}
