import { IHandlerParameters } from "@zowe/imperative" ; import { IIssueResponse , IssueTso , ZosTsoBaseHandler } from "@zowe/zos-tso-for-zowe-sdk" ; export class implements ICommandHandler export default class Handler extends ZosTsoBaseHandler { public async processCmd ( params ) { const response = await IssueTso . issueTsoCommand ( this . mSession , params . arguments . account , params . arguments . commandText , this . mTsoStart ) ; if ( ! params . arguments . suppressStartupMessages ) { this . console . log ( response . startResponse . messages ) ; } this . console . log ( response . commandResponse ) ; this . data . setObj ( response ) ; } }