@intent-codes/intent-ruoyi-vue-ts 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#! /usr/bin/env node
|
|
1
2
|
import { parseSync } from "oxc-parser";
|
|
2
3
|
import { Command } from 'commander';
|
|
3
4
|
const program = new Command();
|
|
@@ -10,6 +11,7 @@ program.command("ts-api-create")
|
|
|
10
11
|
.argument("<path>", "表结构定义文件的路径")
|
|
11
12
|
.action((str, option) => {
|
|
12
13
|
let code = `import request from "@utils/request";
|
|
14
|
+
// 中文注释
|
|
13
15
|
export async function fetchSth() {
|
|
14
16
|
return request.get();
|
|
15
17
|
}
|