'use strict';

var fs = require('fs-extra');
var index = require('./index-79e50cf7.cjs.js');
var collect = require('./collect-c99ee3f5.cjs.js');
require('chalk');
require('commander');
require('@backstage/errors');
require('semver');
require('@backstage/cli-common');
require('@backstage/config-loader');
require('os');
require('path');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);

var command = async () => {
  const { name } = await fs__default["default"].readJson(index.paths.resolveTarget("package.json"));
  const configSchema = await collect.getConfigSchema(name);
  process.stdout.write(`${JSON.stringify(configSchema, null, 2)}
`);
};

exports["default"] = command;
//# sourceMappingURL=index-3f8700da.cjs.js.map
