uxos 1.0.7 → 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 +5 -11
- package/workflows/step1.md +5 -16
- package/workflows/step2.md +5 -16
package/package.json
CHANGED
package/workflows/init.md
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
EXECUTE:
|
|
2
|
+
欢迎使用 uxos!uxos 是一套快速初始化工具,可以帮助你在几秒钟内完成项目基础配置。现在让我带你完成初始化配置,大约 1-2 分钟。
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
1. 请输入你的昵称
|
|
7
|
-
2. 请选择你的语言 (chinese/english)
|
|
8
|
-
|
|
9
|
-
## Next Step
|
|
10
|
-
当用户回答后:
|
|
11
|
-
1. 修改 `config/user-template.yaml` 文件,将用户的昵称和语言填入
|
|
12
|
-
2. 读取 `workflows/step1.md` 文件继续执行
|
|
4
|
+
1. 向用户获取:昵称、语言
|
|
5
|
+
2. 更新 config/user-template.yaml
|
|
6
|
+
3. 读取 workflows/step1.md
|
package/workflows/step1.md
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
1. 你最喜欢的颜色是什么?
|
|
7
|
-
2. 你喜欢猫还是狗?
|
|
8
|
-
3. 你喜欢编程吗?
|
|
9
|
-
|
|
10
|
-
## Next Step
|
|
11
|
-
当用户回答后:
|
|
12
|
-
1. 读取 `templates/test-template.md`
|
|
13
|
-
2. 将用户的回答填充到模板中的占位符
|
|
14
|
-
3. 创建 `test/` 目录
|
|
15
|
-
4. 将填充后的内容保存到 `test/test.md`
|
|
16
|
-
5. 读取 `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,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
1. 你的家乡在哪里?
|
|
7
|
-
2. 你最喜欢的食物是什么?
|
|
8
|
-
3. 你最大的愿望是什么?
|
|
9
|
-
|
|
10
|
-
## Next Step
|
|
11
|
-
当用户回答后:
|
|
12
|
-
1. 读取 `templates/test2-template.md`
|
|
13
|
-
2. 将用户的回答填充到模板中的占位符
|
|
14
|
-
3. 创建 `test2/` 目录
|
|
15
|
-
4. 将填充后的内容保存到 `test2/test2.md`
|
|
16
|
-
5. 告诉用户:"UXOS 初始化流程已完成!"
|
|
1
|
+
EXECUTE:
|
|
2
|
+
1. 向用户获取:家乡在哪里、最喜欢的食物、最大的愿望
|
|
3
|
+
2. 读取 templates/test2-template.md,填充 {{hometown}} {{food}} {{wish}}
|
|
4
|
+
3. 创建 test2/,保存为 test2/test2.md
|
|
5
|
+
4. 完成初始化
|