import { ICommandDefinition } from "@zowe/imperative" ; import i18nTypings from "../../-strings-/en" ; const strings = ( require ( "../../-strings-/en" ) . default as typeof i18nTypings ) . CANCEL ; export const JobDefinition = { name : "job" , type : "command" , summary : strings . ACTIONS . JOB . SUMMARY , description : strings . ACTIONS . JOB . DESCRIPTION , handler : __dirname + "/Job.handler" , profile : { optional : [ "zosmf" ] } , positionals : [ { name : "jobid" , description : strings . ACTIONS . JOB . POSITIONALS . JOB_ID , type : "string" , required : true } ] , options : [ { name : "modifyVersion" , description : strings . ACTIONS . JOB . OPTIONS . MODIFY_VERSION , type : "string" , required : false , defaultValue : "1.0" } ] , examples : [ { description : strings . ACTIONS . JOB . EXAMPLES . EX1 . DESCRIPTION , options : strings . ACTIONS . JOB . EXAMPLES . EX1 . OPTIONS } , { description : strings . ACTIONS . JOB . EXAMPLES . EX2 . DESCRIPTION , options : strings . ACTIONS . JOB . EXAMPLES . EX2 . OPTIONS } ] } ;