UNPKG

@zowe/cli

Version:

Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.

32 lines (31 loc) 1.05 kB
import { IHandlerParameters } from "@zowe/imperative"; import { ZosmfBaseHandler } from "../../../../../zosmf/src/ZosmfBaseHandler"; /** * "zos-jobs list spool-files" command handler. Outputs a table of spool files. * @export * @class SubmitJobHandler * @implements {ICommandHandler} */ export default class SpoolFilesHandler extends ZosmfBaseHandler { /** * The z/OSMF profile for this command * @private * @type {*} * @memberof JobHandler */ private profile; /** * Command line arguments passed * @private * @type {*} * @memberof JobHandler */ private arguments; /** * Command handler process - invoked by the command processor to handle the "zos-jobs list spool-files" * @param {IHandlerParameters} params - Command handler parameters * @returns {Promise<void>} - Fulfilled when the command completes successfully OR rejected with imperative error * @memberof SubmitDataSetHandler */ processCmd(params: IHandlerParameters): Promise<void>; }