import { ICommandDefinition } from "@zowe/imperative" ; import { DownloadOptions } from "../Download.options" ; import i18nTypings from "../../-strings-/en" ; const strings = ( require ( "../../-strings-/en" ) . default as typeof i18nTypings ) . DOWNLOAD . ACTIONS . ALL_MEMBERS ; type { ICommandDefinition } export const 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 : [ DownloadOptions . volume , DownloadOptions . directory , DownloadOptions . binary , DownloadOptions . encoding , DownloadOptions . extension , DownloadOptions . maxConcurrentRequests , DownloadOptions . preserveOriginalLetterCase , DownloadOptions . failFast ] . sort ( ( a , b ) => a . name . localeCompare ( b . name ) ) , examples : [ { description : strings . EXAMPLES . EX1 , options : `"ibmuser.loadlib" -b -d loadlib` } , { description : strings . EXAMPLES . EX2 , options : `"ibmuser.cntl" -d jcl` } ] } ;