@zowe/cli
Version:
Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.
85 lines • 2.73 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.DataSetDefinition = void 0;
// Does not use the import in anticipation of some internationalization work to be done later.
const strings = require("../../-strings-/en").default.SUBMIT.ACTIONS;
exports.DataSetDefinition = {
name: "data-set",
aliases: ["ds"],
type: "command",
summary: strings.DATA_SET.SUMMARY,
description: strings.DATA_SET.DESCRIPTION,
handler: __dirname + "/../Submit.shared.handler",
positionals: [
{
name: "dataset",
description: strings.DATA_SET.POSITIONALS.DATASET,
type: "string",
required: true
}
],
options: [
{
name: "volume", aliases: ["vol"],
description: strings.DATA_SET.OPTIONS.VOLUME,
type: "string"
},
{
name: "wait-for-active", aliases: ["wfa"],
description: strings.COMMON_OPT.WAIT_FOR_ACTIVE,
type: "boolean",
conflictsWith: ["wait-for-output", "view-all-spool-content", "directory"]
},
{
name: "wait-for-output", aliases: ["wfo"],
description: strings.COMMON_OPT.WAIT_FOR_OUTPUT,
type: "boolean"
},
{
name: "view-all-spool-content", aliases: ["vasc"],
description: strings.COMMON_OPT.VIEW_ALL_SPOOL_CONTENT,
type: "boolean"
},
{
name: "directory", aliases: ["d"],
description: strings.COMMON_OPT.DIRECTORY,
type: "string"
},
{
name: "extension", aliases: ["e"],
description: strings.COMMON_OPT.EXTENSION,
implies: ["directory"],
type: "string"
},
{
name: "jcl-symbols", aliases: ["js"],
description: strings.COMMON_OPT.JCL_SYMBOLS,
type: "string"
}
],
profile: {
optional: ["zosmf"]
},
outputFormatOptions: true,
examples: [
{
options: strings.DATA_SET.EXAMPLES.EX1.OPTIONS,
description: strings.DATA_SET.EXAMPLES.EX1.DESCRIPTION
},
{
options: strings.DATA_SET.EXAMPLES.EX2.OPTIONS,
description: strings.DATA_SET.EXAMPLES.EX2.DESCRIPTION
}
]
};
//# sourceMappingURL=DataSet.definition.js.map