import { ICommandDefinition } from "@zowe/imperative" ; import { ListOptions } from "../List.options" ; import i18nTypings from "../../-strings-/en" ; const strings = ( require ( "../../-strings-/en" ) . default as typeof i18nTypings ) . LIST . ACTIONS . USS_FILE ; type { ICommandDefinition } export const USSFileDefinition = { name : "uss-files" , aliases : [ "uf" , "uss" ] , summary : strings . SUMMARY , description : strings . DESCRIPTION , type : "command" , handler : __dirname + "/UssFile.handler" , profile : { optional : [ "zosmf" ] } , positionals : [ { name : "path" , description : strings . POSITIONALS . PATH , type : "string" , required : true } ] , options : [ ListOptions . maxLength ] , outputFormatOptions : true , examples : [ { description : strings . EXAMPLES . EX1 , options : `"/u/ibmuser"` } , { description : strings . EXAMPLES . EX2 , options : `"/u/ibmuser" --rff name` } , { description : strings . EXAMPLES . EX3 , options : `"/u/ibmuser" --rfh` } ] } ;