@zowe/cli
Version:
Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.
60 lines • 2.02 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.SpoolddDefinition = void 0;
const Compare_options_1 = require("../Compare.options");
// Does not use the import in anticipation of some internationalization work to be done later.
const strings = require("../../-strings-/en").default.COMPARE;
/**
* Compare spool-dds command definition containing its description, examples and/or options
* @type {ICommandDefinition}
*/
exports.SpoolddDefinition = {
name: "spool-dd",
aliases: ["sdd"],
summary: strings.ACTIONS.SPOOL_DD.SUMMARY,
description: strings.ACTIONS.SPOOL_DD.DESCRIPTION,
type: "command",
handler: __dirname + "/Spooldd.handler",
profile: {
optional: ["zosmf"],
},
positionals: [
{
name: "spoolDescription1",
description: strings.ACTIONS.SPOOL_DD.POSITIONALS.SPOOLDDDESCRIPTION1,
type: "string",
required: true
},
{
name: "spoolDescription2",
type: "string",
description: strings.ACTIONS.SPOOL_DD.POSITIONALS.SPOOLDDDESCRIPTION2,
required: true
}
],
options: [
Compare_options_1.CompareOptions.contextLines,
Compare_options_1.CompareOptions.browserView
],
examples: [
{
description: strings.ACTIONS.SPOOL_DD.EXAMPLES.EX1,
options: `"jobName1:jobId1:spoolId1" "jobName2:jobId2:spoolId2"`
},
{
description: strings.ACTIONS.SPOOL_DD.EXAMPLES.EX2,
options: `"jobName1:jobId1:spoolId1" "jobName2:jobId2:spoolId2" --no-seqnum`
}
]
};
//# sourceMappingURL=Spooldd.definition.js.map