@procore/core-scripts
Version:
A CLI to enhance your development experience
24 lines • 824 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const envinfo_1 = tslib_1.__importDefault(require("envinfo"));
const BaseCommand_1 = require("../BaseCommand");
class InfoCommand extends BaseCommand_1.BaseCommand {
async run() {
envinfo_1.default
.run({
System: ['OS', 'CPU'],
Binaries: ['Node', 'Yarn', 'npm'],
npmPackages: '/**/{typescript,@procore/*/}',
npmGlobalPackages: ['@procore/core-scripts'],
}, {
showNotFound: true,
duplicates: true,
fullTree: true,
})
.then(this.log);
}
}
InfoCommand.description = 'Gathers relevant information about the CLI.';
exports.default = InfoCommand;
//# sourceMappingURL=info.js.map