import { AbstractSession , IHandlerParameters } from "@zowe/imperative" ; import { IZosFilesResponse , IMountFsOptions , Mount } from "@zowe/zos-files-for-zowe-sdk" ; import { ZosFilesBaseHandler } from "../../ZosFilesBase.handler" ; /**
 * Handler to mount a Unix file system
 */ export default class FsHandler extends ZosFilesBaseHandler { public async processWithSession ( commandParameters , session ) { const mountFsOptions = { "fs-type" : commandParameters . arguments . fsType , "mode" : commandParameters . arguments . mode , responseTimeout : commandParameters . arguments . responseTimeout } ; return Mount . fs ( session , commandParameters . arguments . fileSystemName , commandParameters . arguments . mountPoint , mountFsOptions ) ; } }