fix: load env files for cli (#3503)

This commit is contained in:
Jason Rasmussen
2023-08-01 18:07:52 -04:00
committed by GitHub
parent 310fab526d
commit 2835919931
11 changed files with 10 additions and 6 deletions

6
server/src/admin-cli/main.ts Executable file
View File

@@ -0,0 +1,6 @@
import { CommandFactory } from 'nest-commander';
import { AppModule } from './app.module';
export async function bootstrap() {
await CommandFactory.run(AppModule, ['warn', 'error']);
}