import i18nTypings from "../../-strings-/en" ; const strings = ( require ( "../../-strings-/en" ) . default as typeof i18nTypings ) . SUBMIT . ACTIONS ; import { ICommandDefinition , ICommandOptionDefinition } from "@zowe/imperative" ; export const DataSetDefinition = { name : "data-set" , aliases : [ "ds" ] , type : "command" , summary : strings . DATA_SET . SUMMARY , description : strings . DATA_SET . DESCRIPTION , handler : __dirname + "/../Submit.shared.handler" , positionals : [ { name : "dataset" , description : strings . DATA_SET . POSITIONALS . DATASET , type : "string" , required : true } ] , options : ( [ { name : "volume" , aliases : [ "vol" ] , description : strings . DATA_SET . OPTIONS . VOLUME , type : "string" } , { name : "wait-for-active" , aliases : [ "wfa" ] , description : strings . COMMON_OPT . WAIT_FOR_ACTIVE , type : "boolean" , conflictsWith : [ "wait-for-output" , "view-all-spool-content" , "directory" ] } , { name : "wait-for-output" , aliases : [ "wfo" ] , description : strings . COMMON_OPT . WAIT_FOR_OUTPUT , type : "boolean" } , { name : "view-all-spool-content" , aliases : [ "vasc" ] , description : strings . COMMON_OPT . VIEW_ALL_SPOOL_CONTENT , type : "boolean" } , { name : "directory" , aliases : [ "d" ] , description : strings . COMMON_OPT . DIRECTORY , type : "string" } , { name : "extension" , aliases : [ "e" ] , description : strings . COMMON_OPT . EXTENSION , implies : [ "directory" ] , type : "string" } , { name : "jcl-symbols" , aliases : [ "js" ] , description : strings . COMMON_OPT . JCL_SYMBOLS , type : "string" } ] as ICommandOptionDefinition [ ] ) , profile : { optional : [ "zosmf" ] } , outputFormatOptions : true , examples : [ { options : strings . DATA_SET . EXAMPLES . EX1 . OPTIONS , description : strings . DATA_SET . EXAMPLES . EX1 . DESCRIPTION } , { options : strings . DATA_SET . EXAMPLES . EX2 . OPTIONS , description : strings . DATA_SET . EXAMPLES . EX2 . DESCRIPTION } ] } ;