@zowe/cli
Version:
Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.
49 lines • 1.72 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 });
const ZosTso_constants_1 = require("../../constants/ZosTso.constants");
exports.CommandDefinition = {
name: "command",
aliases: ["cmd"],
summary: "Issue a TSO command",
description: "Creates a TSO address space, issues a TSO command through the newly created address space, " +
"waits for the READY prompt to print the response, and terminates the TSO address space. All response data " +
" are returned to the user up to (but not including) the TSO 'READY' prompt.",
type: "command",
handler: __dirname + "/Command.handler",
profile: {
optional: ["zosmf", "tso"],
},
positionals: [
{
name: "commandText",
type: "string",
description: "The TSO command to issue.",
required: true,
},
],
options: [
{
name: "suppress-startup-messages",
aliases: ["ssm"],
type: "boolean",
description: "Suppress console messages from start of address space."
}
].concat(ZosTso_constants_1.TSO_PROFILE_OPTIONS),
examples: [
{
description: 'Issue the TSO command "status" to display information about jobs for your user ID.',
options: "\"status\"",
}
],
};
//# sourceMappingURL=Command.definition.js.map