@zowe/cli
Version:
Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.
72 lines • 2.68 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.LocalFileDefinition = {
name: "local-file",
aliases: ["lf"],
type: "command",
summary: "Submit a job contained in a local file",
description: "Submit a job (JCL) contained in a local file. " +
"The command presents errors verbatim from the z/OSMF Jobs REST endpoints. " +
"For more information about z/OSMF Jobs API errors, see the z/OSMF Jobs API REST documentation.",
handler: __dirname + "/../Submit.shared.handler",
positionals: [
{
name: "localFile",
description: "The local file containing the JCL to submit. ",
type: "string",
required: true
}
],
options: [
{
name: "view-all-spool-content", aliases: ["vasc"],
description: "Print all spool output." +
" If you use this option you will wait the job to complete.",
type: "boolean"
},
{
name: "wait-for-output", aliases: ["wfo"],
description: "Wait for the job to enter OUTPUT status before completing the command.",
type: "boolean"
},
{
name: "wait-for-active", aliases: ["wfa"],
description: "Wait for the job to enter ACTIVE status before completing the command.",
type: "boolean",
conflictsWith: ["wait-for-output", "view-all-spool-content", "directory"]
},
{
name: "directory", aliases: ["d"],
description: "The local directory you would like to download the output of the job." +
" Creates a subdirectory using the jobID as the name and files are titled based on DD names." +
" If you use this option you will wait the job to complete.",
type: "string"
},
{
name: "extension", aliases: ["e"],
description: "A file extension to save the job output with. Default is '.txt'.",
type: "string"
},
],
profile: {
optional: ["zosmf"]
},
outputFormatOptions: true,
examples: [
{
options: "\"iefbr14.txt\"",
description: "Submit the JCL in the file \"iefbr14.txt\""
}
]
};
//# sourceMappingURL=localFile.definition.js.map