mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: migration commands (#828)
* feat: migration commands * Update packages/server/src/modules/CLI/commands/TenantsMigrateRollback.command.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/server/src/modules/CLI/commands/TenantsMigrateLatest.command.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/server/src/modules/CLI/commands/TenantsList.command.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/server/src/modules/CLI/commands/SystemMigrateRollback.command.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/server/src/modules/CLI/commands/TenantsMigrateLatest.command.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
8
packages/server/src/cli.ts
Normal file
8
packages/server/src/cli.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { CommandFactory } from 'nest-commander';
|
||||
import { CLIModule } from './modules/CLI/CLI.module';
|
||||
|
||||
async function bootstrap() {
|
||||
await CommandFactory.run(CLIModule);
|
||||
}
|
||||
|
||||
bootstrap();
|
||||
Reference in New Issue
Block a user