import { ICommandDefinition } from "@zowe/imperative" ; import i18nTypings from "../../-strings-/en" ; const strings = ( require ( "../../-strings-/en" ) . default as typeof i18nTypings ) ; const dsmStrings = strings . RENAME . ACTIONS . DATA_SET_MEMBER ; export const DsmDefinition = { name : "data-set-member" , aliases : [ "dsm" ] , description : dsmStrings . DESCRIPTION , type : "command" , handler : __dirname + "/Dsm.handler" , profile : { optional : [ "zosmf" ] } , positionals : [ { name : "dataSetName" , type : "string" , description : dsmStrings . POSITIONALS . DSNAME , required : true } , { name : "beforeMemberName" , type : "string" , description : dsmStrings . POSITIONALS . BEFOREMEMBERNAME , required : true } , { name : "afterMemberName" , type : "string" , description : dsmStrings . POSITIONALS . AFTERMEMBERNAME , required : true } ] , examples : [ { description : dsmStrings . EXAMPLES . EX1 , options : '"USER.DATA.SET" "MEM1" "MEM2' } ] } ;