UNPKG

@graphql-hive/cli

Version:

A CLI util to manage and control your GraphQL Hive

21 lines 721 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const base_command_1 = tslib_1.__importDefault(require("../../base-command")); class DeleteConfig extends base_command_1.default { async run() { const { args } = await this.parse(DeleteConfig); this._userConfig.set(args.key, args.value); this.success(this.bolderize(`Config flag "${args.key}" was set to "${args.value}"!`)); } } DeleteConfig.description = 'deletes specific cli configuration'; DeleteConfig.args = [ { name: 'key', required: true, description: 'config key', }, ]; exports.default = DeleteConfig; //# sourceMappingURL=delete.js.map