import { ICommandDefinition } from "@zowe/imperative" ; import { ListOptions } from "../List.options" ; import i18nTypings from "../../-strings-/en" ; const strings = ( require ( "../../-strings-/en" ) . default as typeof i18nTypings ) . LIST . 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 : [ ListOptions . attributes , ListOptions . maxLength , ListOptions . pattern ] , examples : [ { description : strings . EXAMPLES . EX1 , options : `"ibmuser.asm"` } , { description : strings . EXAMPLES . EX2 , options : `"ibmuser.cntl" -a` } , { description : strings . EXAMPLES . EX3 , options : `"ibmuser.cntl" --max 5` } , { description : strings . EXAMPLES . EX4 , options : `"sys1.maclib" --pattern IJK* --max 4` } ] } ;