重构成功
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
import color from "picocolors";
|
||||
import { projectTypes } from "./config.js";
|
||||
import { gridSelect } from "../../grid.js";
|
||||
import { createScaffoldUI, formatResults, waitKey } from "./ui.js";
|
||||
import { createScaffoldUI, formatResults, waitKey } from "./service.js";
|
||||
|
||||
async function run() {
|
||||
const run = async () => {
|
||||
while (true) {
|
||||
// 二级菜单 - 项目类型
|
||||
const typeResult = await gridSelect({
|
||||
@ -32,7 +32,7 @@ async function run() {
|
||||
await waitKey();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export default {
|
||||
id: "scaffold",
|
||||
|
||||
Reference in New Issue
Block a user