@zowe/cli
Version:
Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.
50 lines • 1.63 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.AmsStatementsDefinition = void 0;
const path_1 = require("path");
// Does not use the import in anticipation of some internationalization work to be done later.
const strings = require("../../-strings-/en").default.INVOKE.ACTIONS.AMS;
/**
* AMS command definition containing its description, examples and/or options
* @type {ICommandDefinition}
*/
exports.AmsStatementsDefinition = {
name: "ams-statements",
aliases: ["as"],
summary: strings.STATEMENTS_CMD.SUMMARY,
description: strings.DESCRIPTION,
type: "command",
handler: (0, path_1.join)(__dirname, "AmsStatements.handler"),
profile: {
optional: ["zosmf"]
},
positionals: [
{
name: "controlStatements",
description: strings.STATEMENTS_CMD.POSITIONAL,
type: "string",
required: true
}
],
examples: [
{
description: strings.STATEMENTS_CMD.EXAMPLES.EX1,
options: `"DEFINE CLUSTER ( NAME (DUMMY.VSAM.CLUSTER) CYL(1 1))"`
},
{
description: strings.STATEMENTS_CMD.EXAMPLES.EX2,
options: `"DELETE DUMMY.VSAM.CLUSTER CLUSTER"`
}
]
};
//# sourceMappingURL=AmsStatements.definition.js.map