tachybase_todo/packages/create-nocobase-app/src/index.ts

17 lines
279 B
TypeScript
Executable File

import { yargs } from '@umijs/utils';
import AppGenerator from './AppGenerator/AppGenerator';
export default async ({
cwd,
args,
}: {
cwd: string;
args: yargs.Arguments;
}) => {
const generator = new AppGenerator({
cwd,
args,
});
await generator.run();
};