Class BootstrapConsole

A class to boot a nestjs application context from cli

Hierarchy

Constructors

Properties

container: INestApplicationContext

The application container

The options to bootstrap

The console service

Methods

  • Boot the console

    Parameters

    • argv: string[] = process.argv

      The list of arguments to pass to the cli, default are process.argv

    Returns Promise<CommandResponse>

  • An abstract method to create the nest application instance. Could return any kind of NestApplication (headless or not)

    Returns Promise<INestApplicationContext>