Class AbstractBootstrapConsole<A, O>Abstract
Type Parameters
-
A extends INestApplicationContext
-
Constructors
constructor
- new AbstractBootstrapConsole<A, O>(options): AbstractBootstrapConsole<A, O>
-
Type Parameters
-
A extends INestApplicationContext
-
Properties
Protected
container
container: A
Protected
Readonly
options
options: O
Methods
boot
- boot(argv?): Promise<CommandResponse>
-
Parameters
-
argv: string[] = process.argv
Returns Promise<CommandResponse>
Abstract
create
- create(): Promise<A>
-
Returns Promise<A>
getOptions
- getOptions(): O
-
Returns O
init
- init(): Promise<A>
-
Returns Promise<A>
An abstract class to boot a nest application