@zowe/cli
Version:
Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.
63 lines • 1.94 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.AllMembersDefinition = void 0;
const List_options_1 = require("../List.options");
// Does not use the import in anticipation of some internationalization work to be done later.
const strings = require("../../-strings-/en").default.LIST.ACTIONS.ALL_MEMBERS;
/**
* List all members command definition containing its description, examples and/or options
* @type {ICommandDefinition}
*/
exports.AllMembersDefinition = {
name: "all-members",
aliases: ["am"],
summary: strings.SUMMARY,
description: strings.DESCRIPTION,
type: "command",
handler: __dirname + "/AllMembers.handler",
profile: {
optional: ["zosmf"]
},
positionals: [
{
name: "dataSetName",
description: strings.POSITIONALS.DATASETNAME,
type: "string",
required: true
}
],
options: [
List_options_1.ListOptions.attributes,
List_options_1.ListOptions.maxLength,
List_options_1.ListOptions.pattern
],
examples: [
{
description: strings.EXAMPLES.EX1,
options: `"ibmuser.asm"`
},
{
description: strings.EXAMPLES.EX2,
options: `"ibmuser.cntl" --attributes`
},
{
description: strings.EXAMPLES.EX3,
options: `"ibmuser.cntl" --max 5`
},
{
description: strings.EXAMPLES.EX4,
options: `"sys1.maclib" --pattern IJK* --max 4`
}
]
};
//# sourceMappingURL=AllMembers.definition.js.map