uxos 1.0.8 → 1.0.9
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/package.json +1 -1
- package/workflows/init.md +4 -21
- package/workflows/step1.md +5 -23
- package/workflows/step2.md +5 -23
package/package.json
CHANGED
package/workflows/init.md
CHANGED
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
EXECUTE:
|
|
3
2
|
欢迎使用 uxos!uxos 是一套快速初始化工具,可以帮助你在几秒钟内完成项目基础配置。现在让我带你完成初始化配置,大约 1-2 分钟。
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
请向用户获取以下信息:
|
|
10
|
-
- 昵称
|
|
11
|
-
- 语言 (chinese/english)
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
步骤 2: 更新配置
|
|
16
|
-
|
|
17
|
-
修改 config/user-template.yaml,将用户回答填入对应字段
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
步骤 3: 继续
|
|
22
|
-
|
|
23
|
-
读取 workflows/step1.md
|
|
4
|
+
1. 向用户获取:昵称、语言
|
|
5
|
+
2. 更新 config/user-template.yaml
|
|
6
|
+
3. 读取 workflows/step1.md
|
package/workflows/step1.md
CHANGED
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
- 最喜欢的颜色
|
|
7
|
-
- 喜欢猫还是狗
|
|
8
|
-
- 喜欢编程吗
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
步骤 2: 生成文件
|
|
13
|
-
|
|
14
|
-
1. 读取 templates/test-template.md
|
|
15
|
-
2. 将用户回答填充到占位符 {{nickname}}, {{language}}, {{color}}, {{pet}}, {{likeCoding}}
|
|
16
|
-
3. 创建 test/ 目录
|
|
17
|
-
4. 保存为 test/test.md
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
步骤 3: 继续
|
|
22
|
-
|
|
23
|
-
读取 workflows/step2.md
|
|
1
|
+
EXECUTE:
|
|
2
|
+
1. 向用户获取:最喜欢的颜色、喜欢猫还是狗、喜欢编程吗
|
|
3
|
+
2. 读取 templates/test-template.md,填充 {{nickname}} {{language}} {{color}} {{pet}} {{likeCoding}}
|
|
4
|
+
3. 创建 test/,保存为 test/test.md
|
|
5
|
+
4. 读取 workflows/step2.md
|
package/workflows/step2.md
CHANGED
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
- 家乡在哪里
|
|
7
|
-
- 最喜欢的食物
|
|
8
|
-
- 最大的愿望
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
步骤 2: 生成文件
|
|
13
|
-
|
|
14
|
-
1. 读取 templates/test2-template.md
|
|
15
|
-
2. 将用户回答填充到占位符 {{hometown}}, {{food}}, {{wish}}
|
|
16
|
-
3. 创建 test2/ 目录
|
|
17
|
-
4. 保存为 test2/test2.md
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
完成
|
|
22
|
-
|
|
23
|
-
告诉用户:UXOS 初始化流程已完成!
|
|
1
|
+
EXECUTE:
|
|
2
|
+
1. 向用户获取:家乡在哪里、最喜欢的食物、最大的愿望
|
|
3
|
+
2. 读取 templates/test2-template.md,填充 {{hometown}} {{food}} {{wish}}
|
|
4
|
+
3. 创建 test2/,保存为 test2/test2.md
|
|
5
|
+
4. 完成初始化
|