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.

68 lines 2.49 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.AllMembersMatchingDefinition = void 0; const Download_options_1 = require("../Download.options"); // Does not use the import in anticipation of some internationalization work to be done later. const strings = require("../../-strings-/en").default.DOWNLOAD.ACTIONS.ALL_MEMBERS_MATCHING; /** * Download all members command definition containing its description, examples and/or options * @type {ICommandDefinition} */ exports.AllMembersMatchingDefinition = { name: "all-members-matching", aliases: ["amm", "all-members-matching"], summary: strings.SUMMARY, description: strings.DESCRIPTION, type: "command", handler: __dirname + "/AllMembersMatching.handler", profile: { optional: ["zosmf"] }, positionals: [ { name: "dataSetName", description: strings.POSITIONALS.DATASETNAME, type: "string", required: true }, { name: "pattern", description: strings.POSITIONALS.PATTERN, type: "string", required: true } ], options: [ Download_options_1.DownloadOptions.volume, Download_options_1.DownloadOptions.directory, Download_options_1.DownloadOptions.binary, Download_options_1.DownloadOptions.record, Download_options_1.DownloadOptions.encoding, Download_options_1.DownloadOptions.extension, Download_options_1.DownloadOptions.excludePattern, Download_options_1.DownloadOptions.maxConcurrentRequests, Download_options_1.DownloadOptions.preserveOriginalLetterCase, Download_options_1.DownloadOptions.failFast ].sort((a, b) => a.name.localeCompare(b.name)), examples: [ { description: strings.EXAMPLES.EX1, options: `"ibmuser.loadlib" "Test*" --directory loadlib` }, { description: strings.EXAMPLES.EX2, options: `"ibmuser.cntl" "test*,M*" --exclude-patterns "M2*" --directory output` } ] }; //# sourceMappingURL=AllMembersMatching.definition.js.map