|
@@ -234,7 +234,10 @@ export const cliCommands: CliCommandDefinition[] = [
|
|
|
],
|
|
],
|
|
|
action: async options => {
|
|
action: async options => {
|
|
|
const { schemaCommand } = await import('./schema/schema');
|
|
const { schemaCommand } = await import('./schema/schema');
|
|
|
- await schemaCommand(options as any);
|
|
|
|
|
|
|
+ await schemaCommand({
|
|
|
|
|
+ ...(options as any),
|
|
|
|
|
+ outputDir: options?.dir,
|
|
|
|
|
+ });
|
|
|
process.exit(0);
|
|
process.exit(0);
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|