'use strict';

var config = require('./config-OeQcmdz6.cjs.js');
require('@backstage/config-loader');
require('@backstage/config');
require('./index-CCLafGQH.cjs.js');
require('commander');
require('chalk');
require('fs-extra');
require('semver');
require('@backstage/cli-common');
require('@backstage/errors');
require('@manypkg/get-packages');
require('@backstage/cli-node');

var validate = async (opts) => {
  await config.loadCliConfig({
    args: opts.config,
    fromPackage: opts.package,
    mockEnv: opts.lax,
    fullVisibility: !opts.frontend,
    withDeprecatedKeys: opts.deprecated,
    strict: opts.strict
  });
};

exports.default = validate;
//# sourceMappingURL=validate-uBFU47Vl.cjs.js.map
