import { ICommandDefinition } from "@zowe/imperative" ; import i18nTypings from "../../-strings-/en" ; const strings = ( require ( "../../-strings-/en" ) . default as typeof i18nTypings ) ; const dsStrings = strings . RENAME . ACTIONS . DATA_SET ; export const DsDefinition = { name : "data-set" , aliases : [ "ds" ] , description : dsStrings . DESCRIPTION , type : "command" , handler : __dirname + "/Ds.handler" , profile : { optional : [ "zosmf" ] } , positionals : [ { name : "beforeDataSetName" , type : "string" , description : dsStrings . POSITIONALS . BEFOREDSNAME , required : true } , { name : "afterDataSetName" , type : "string" , description : dsStrings . POSITIONALS . AFTERDSNAME , required : true } ] , examples : [ { description : dsStrings . EXAMPLES . EX1 , options : '"USER.BEFORE.SET" "USER.AFTER.SET"' } ] } ;