add cli command to remove empty decks

This commit is contained in:
2024-12-22 13:55:06 +01:00
parent 3c21c83e2c
commit d48a113a4a
5 changed files with 116 additions and 10 deletions

10
src/command-factory.ts Normal file
View 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()