UNPKG

@zowe/imperative

Version:
62 lines 1.94 kB
"use strict"; /* * This program and the accompanying materials are made available under the terms of the * Eclipse Public License v2.0 which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-v20.html * * SPDX-License-Identifier: EPL-2.0 * * Copyright Contributors to the Zowe Project. * */ Object.defineProperty(exports, "__esModule", { value: true }); exports.secureDefinition = void 0; const path_1 = require("path"); exports.secureDefinition = { name: "secure", type: "command", handler: (0, path_1.join)(__dirname, "secure.handler"), summary: "Secure configuration properties", description: "Prompt for secure configuration properties.", options: [ { name: "global-config", description: "Secure properties in global config.", aliases: ["gc"], type: "boolean", defaultValue: false }, { name: "user-config", description: "Secure properties in user config.", aliases: ["uc"], type: "boolean", defaultValue: false }, { name: "prune", description: "Delete properties stored in the vault for Zowe client config files that do not exist.", aliases: ["p"], type: "boolean", defaultValue: false }, { name: "profile", description: "Specify the profile for which you want to configure secure values.", type: "string", aliases: ["pf"], defaultValue: null } ], examples: [ { description: "Secure the properties in global config", options: "--global-config" }, { description: "Secure the properties in user config", options: "--user-config" } ] }; //# sourceMappingURL=secure.definition.js.map