UNPKG

@zowe/cli

Version:

Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.

61 lines 2.07 kB
"use strict"; /* * 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.OutputDefinition = { name: "output", aliases: ["o"], type: "command", summary: "Download all job output to a directory", description: "Download all job output to a local directory. " + "Each spool DD will be downloaded to its own file in the directory.", handler: __dirname + "/Output.handler", profile: { optional: ["zosmf"] }, positionals: [ { name: "jobid", description: "The z/OS JOBID of the job containing the spool files you want to view. " + "No pre-validation of the JOBID is performed.", type: "string", required: true }, ], options: [ { name: "directory", aliases: ["d", "dir"], description: "The local directory you would like to download the output for the job to.", type: "string", }, { name: "extension", aliases: ["e"], description: "A file extension to save the job output with. Defaults to '.txt'.", type: "string", }, { name: "omit-jobid-directory", aliases: ["ojd"], description: "If specified, job output will be saved directly to the specified " + "directory rather than creating a subdirectory named after the ID of the job.", type: "boolean", }, ], examples: [ { description: "Download all the output of the job with job ID JOB00234 to an automatically generated directory.", options: "JOB00234", }, ], }; //# sourceMappingURL=Output.definition.js.map