UNPKG

nest-commander

Version:

A module for making CLI applications with NestJS. Decorators for running commands and separating out config parsers included. This package works on top of commander.

10 lines (9 loc) 379 B
import { DynamicModule, Type } from '@nestjs/common'; import { CommanderOptionsType } from './command-factory.interface'; export declare class CommandRunnerModule { static inquirerOptions: { input: NodeJS.ReadStream; output: NodeJS.WriteStream; }; static forModule(module?: Type<any> | DynamicModule, options?: CommanderOptionsType): DynamicModule; }