import * as path from "path" ; 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 . FS ; type { ICommandDefinition } export const FsDefinition = { name : "file-system" , aliases : [ "fs" ] , summary : strings . SUMMARY , description : strings . DESCRIPTION , type : "command" , outputFormatOptions : true , handler : path . join ( __dirname , "Fs.handler" ) , profile : { optional : [ "zosmf" ] } , options : [ ListOptions . maxLength , ListOptions . fsname , ListOptions . path ] , examples : [ { description : strings . EXAMPLES . EX1 , options : "" } , { description : strings . EXAMPLES . EX2 , options : "-p /a/ibmuser" } , { description : strings . EXAMPLES . EX3 , options : "-f MY.ZFS" } ] } ;