import { ICommandDefinition , ICommandOptionDefinition } from "@zowe/imperative" ; import { join } from "path" ; import i18nTypings from "../../-strings-/en" ; const strings = ( require ( "../../-strings-/en" ) . default as typeof i18nTypings ) . DELETE . ACTIONS . ZFS ; private export const ZfsDefinition = { name : "zos-file-system" , aliases : [ "zfs" ] , summary : strings . SUMMARY , description : strings . DESCRIPTION , type : "command" , handler : join ( __dirname , "zfs.handler" ) , profile : { optional : [ "zosmf" ] } , positionals : [ { name : "fileSystemName" , type : "string" , description : strings . POSITIONALS . FILESYSTEMNAME , required : true } ] , options : ( [ { name : "for-sure" , aliases : [ "f" ] , description : strings . OPTIONS . FOR_SURE , type : "boolean" , required : true } ] as ICommandOptionDefinition [ ] ) . sort ( ( a , b ) => a . name . localeCompare ( b . name ) ) , examples : [ { description : strings . EXAMPLES . EX1 , options : `"HLQ.MYNEW.ZFS" -f` } ] } ;