mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-18 05:09:29 +00:00
add cli command to remove empty decks
This commit is contained in:
10
src/command-factory.ts
Normal file
10
src/command-factory.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Logger } from '@nestjs/common'
|
||||
import { CommandFactory } from 'nest-commander'
|
||||
|
||||
import { AppModule } from './app.module'
|
||||
|
||||
const bootstrap = async () => {
|
||||
await CommandFactory.run(AppModule, new Logger())
|
||||
}
|
||||
|
||||
bootstrap()
|
||||
Reference in New Issue
Block a user