Interface CommonBootstrapConsoleOptions

The Common options of the AbstractBootstrapConsole

interface CommonBootstrapConsoleOptions {
    contextOptions?: NestApplicationContextOptions;
    includeModules?: any[];
    module: any;
    useDecorators?: boolean;
}

Properties

contextOptions?: NestApplicationContextOptions

The nest application context options

includeModules?: any[]

An optional list of Nest Modules to scan. If set, only listed modules will be scanned.

module: any

Any static module to load. If you are using a dynamic module as a root module, you must create a module that imports your dynamic module first. "@Module({imports: [MyDynamicModule.register()]})"

useDecorators?: boolean

If true the BootstrapConsole will scan the application to find Console and Command decorators