Files
twenty_crm/packages/twenty-server/src/command.ts
2023-12-10 18:10:54 +01:00

10 lines
284 B
TypeScript

import { CommandFactory } from 'nest-commander';
import { CommandModule } from './command.module';
async function bootstrap() {
// TODO: inject our own logger service to handle the output (Sentry, etc.)
await CommandFactory.run(CommandModule, ['warn', 'error']);
}
bootstrap();