@graphql-hive/cli
Version:
A CLI util to manage and control your GraphQL Hive
23 lines • 760 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const core_1 = require("@oclif/core");
const base_command_1 = tslib_1.__importDefault(require("../../base-command"));
const config_1 = require("../../helpers/config");
class GetConfig extends base_command_1.default {
async run() {
const { args } = await this.parse(GetConfig);
console.dir(this.userConfig.get(args.key));
}
}
GetConfig.description = 'prints specific cli configuration';
GetConfig.args = {
key: core_1.Args.string({
name: 'key',
required: true,
description: 'config key',
options: config_1.allowedKeys,
}),
};
exports.default = GetConfig;
//# sourceMappingURL=get.js.map
;