@zowe/cli
Version:
Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.
90 lines • 2.98 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.StdinDefinition = 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.StdinDefinition = {
name: "stdin",
aliases: ["in"],
type: "command",
summary: strings.STDIN.SUMMARY,
description: strings.STDIN.DESCRIPTION,
handler: __dirname + "/../Submit.shared.handler",
options: [
{
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,
type: "string"
},
{
name: "jcl-symbols", aliases: ["js"],
description: strings.COMMON_OPT.JCL_SYMBOLS,
type: "string"
},
{
name: "job-encoding", aliases: ["je"],
description: strings.COMMON_OPT.JOB_ENCODING,
type: "string"
},
{
name: "job-record-length", aliases: ["jrl"],
description: strings.COMMON_OPT.JOB_RECORD_LENGTH,
type: "number",
defaultValue: 80
},
{
name: "job-record-format", aliases: ["jrf"],
description: strings.COMMON_OPT.JOB_RECORD_FORMAT,
type: "string",
allowableValues: { values: ["F", "V"] },
defaultValue: "F"
}
],
profile: {
optional: ["zosmf"]
},
outputFormatOptions: true,
examples: [
{
description: strings.STDIN.EXAMPLES.EX1.DESCRIPTION,
options: strings.STDIN.EXAMPLES.EX1.OPTIONS
},
{
description: strings.STDIN.EXAMPLES.EX2.DESCRIPTION,
options: strings.STDIN.EXAMPLES.EX2.OPTIONS,
prefix: strings.STDIN.EXAMPLES.EX2.PREFIX
}
]
};
//# sourceMappingURL=stdin.definition.js.map