import { ICommandDefinition } from "@zowe/imperative" ; import { join } from "path" ; import i18nTypings from "../../-strings-/en" ; const strings = ( require ( "../../-strings-/en" ) . default as typeof i18nTypings ) . INVOKE . ACTIONS . AMS ; type { ICommandDefinition } export const AmsFileDefinition = { name : "ams-file" , aliases : [ "af" ] , summary : strings . FILE_CMD . SUMMARY , description : strings . DESCRIPTION , type : "command" , handler : join ( __dirname , "AmsFile.handler" ) , profile : { optional : [ "zosmf" ] } , positionals : [ { name : "controlStatementsFile" , description : strings . FILE_CMD . POSITIONAL , type : "string" , required : true } ] , examples : [ { description : strings . FILE_CMD . EXAMPLES . EX1 , options : `"./path/to/file/MyControlStatements.idcams"` } ] } ;