@zowe/cics-for-zowe-cli
Version:
Zowe CLI Plug-in for IBM CICS Transaction Server
103 lines • 3.18 kB
JavaScript
;
/**
* 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.UrimapClientDefinition = void 0;
// Does not use the import in anticipation of some internationalization work to be done later.
const strings = require("../../-strings-/en").default.DEFINE.RESOURCES.URIMAP;
exports.UrimapClientDefinition = {
name: "urimap-client",
aliases: ["uc"],
description: strings.DESCRIPTION.CLIENT,
handler: __dirname + "/UrimapClient.handler",
type: "command",
positionals: [
{
name: "urimapName",
description: strings.POSITIONALS.URIMAPNAME,
type: "string",
required: true,
},
{
name: "csdGroup",
description: strings.POSITIONALS.CSDGROUP,
type: "string",
required: true,
},
],
options: [
{
name: "urimap-path",
aliases: ["up"],
description: strings.OPTIONS.URIMAPPATH,
type: "string",
required: true,
},
{
name: "urimap-host",
aliases: ["uh"],
description: strings.OPTIONS.URIMAPHOST,
type: "string",
required: true,
},
{
name: "urimap-scheme",
aliases: ["us"],
description: strings.OPTIONS.URIMAPSCHEME,
type: "string",
allowableValues: { values: ["http", "https"], caseSensitive: false },
defaultValue: "https",
},
{
name: "authenticate",
aliases: ["auth"],
description: strings.OPTIONS.AUTHENTICATE,
type: "string",
allowableValues: { values: ["NO", "BASIC"], caseSensitive: true },
},
{
name: "certificate",
aliases: ["cert"],
description: strings.OPTIONS.CERTIFICATE,
type: "string",
},
{
name: "description",
aliases: ["desc"],
description: strings.OPTIONS.DESCRIPTION,
type: "string",
},
{
name: "region-name",
description: strings.OPTIONS.REGIONNAME,
type: "string",
},
{
name: "cics-plex",
description: strings.OPTIONS.CICSPLEX,
type: "string",
},
{
name: "enable",
description: strings.OPTIONS.ENABLE,
type: "boolean",
defaultValue: true,
},
],
profile: { optional: ["cics"] },
examples: [
{
description: strings.EXAMPLES.CLIENT.EX1,
options: "URIMAPA MYGRP --urimap-path /example/index.html --urimap-host www.example.com --region-name MYREGION",
},
],
};
//# sourceMappingURL=UrimapClient.definition.js.map