mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-31 00:59:57 +08:00
chore(server): add import config script (#11242)
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
|
||||
import { AppModule as BusinessAppModule } from '../app.module';
|
||||
import { FunctionalityModules } from '../app.module';
|
||||
import { CreateCommand, NameQuestion } from './commands/create';
|
||||
import { ImportConfigCommand } from './commands/import';
|
||||
import { RevertCommand, RunCommand } from './commands/run';
|
||||
|
||||
@Module({
|
||||
imports: [BusinessAppModule],
|
||||
providers: [NameQuestion, CreateCommand, RunCommand, RevertCommand],
|
||||
imports: FunctionalityModules,
|
||||
providers: [
|
||||
NameQuestion,
|
||||
CreateCommand,
|
||||
RunCommand,
|
||||
RevertCommand,
|
||||
ImportConfigCommand,
|
||||
],
|
||||
})
|
||||
export class CliAppModule {}
|
||||
|
||||
Reference in New Issue
Block a user