import { AbstractSession , IHandlerParameters } from "@zowe/imperative" ; import { IZosFilesResponse , Create , IZosFilesOptions } from "@zowe/zos-files-for-zowe-sdk" ; import { ZosFilesBaseHandler } from "../../ZosFilesBase.handler" ; /**
 * Handler to create a USS Directory
 */ export default class UssDirHandler extends ZosFilesBaseHandler { public async processWithSession ( commandParameters , session ) { const strMode = commandParameters . arguments . mode ; const zosFilesOptions = { responseTimeout : commandParameters . arguments . responseTimeout } ; return Create . uss ( session , commandParameters . arguments . ussPath , "directory" , strMode , zosFilesOptions ) ; } }