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.
11 lines (10 loc) • 410 B
TypeScript
/// <reference types="node" />
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;
}