@graphql-hive/cli
Version:
A CLI util to manage and control your GraphQL Hive
22 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"));
class DeleteConfig extends base_command_1.default {
async run() {
const { args } = await this.parse(DeleteConfig);
this._userConfig.delete(args.key);
this.success(this.bolderize(`Config flag "${args.key}" was deleted`));
}
}
DeleteConfig.description = 'deletes specific cli configuration';
DeleteConfig.args = {
key: core_1.Args.string({
name: 'key',
required: true,
description: 'config key',
}),
};
exports.default = DeleteConfig;
//# sourceMappingURL=delete.js.map
;