@agile-team/robot-cli 1.1.8 → 1.1.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/lib/create.js +14 -14
- package/package.json +1 -1
package/lib/create.js
CHANGED
|
@@ -150,7 +150,7 @@ async function selectTemplateMethod() {
|
|
|
150
150
|
{
|
|
151
151
|
name: chalk.dim("─".repeat(70)),
|
|
152
152
|
value: "sep1",
|
|
153
|
-
disabled:
|
|
153
|
+
disabled: true
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
name: `● ${chalk.bold('分类模板')} ${chalk.dim('(按项目类型分类选择) - 前端、后端、移动端、桌面端分类浏览')}`,
|
|
@@ -159,7 +159,7 @@ async function selectTemplateMethod() {
|
|
|
159
159
|
{
|
|
160
160
|
name: chalk.dim("─".repeat(70)),
|
|
161
161
|
value: "sep2",
|
|
162
|
-
disabled:
|
|
162
|
+
disabled: true
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
name: `● ${chalk.bold('搜索模板')} ${chalk.dim('(关键词搜索) - 通过技术栈、功能特性等关键词快速查找')}`,
|
|
@@ -168,7 +168,7 @@ async function selectTemplateMethod() {
|
|
|
168
168
|
{
|
|
169
169
|
name: chalk.dim("─".repeat(70)),
|
|
170
170
|
value: "sep3",
|
|
171
|
-
disabled:
|
|
171
|
+
disabled: true
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
name: `● ${chalk.bold('全部模板')} ${chalk.dim('(查看所有可用模板) - 按分类展示所有可用的项目模板')}`,
|
|
@@ -237,7 +237,7 @@ async function selectFromRecommended() {
|
|
|
237
237
|
choicesWithSeparators.push({
|
|
238
238
|
name: chalk.dim("─".repeat(70)),
|
|
239
239
|
value: `sep_${index}`,
|
|
240
|
-
disabled:
|
|
240
|
+
disabled: true
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
243
|
});
|
|
@@ -544,7 +544,7 @@ async function selectBySearch() {
|
|
|
544
544
|
{
|
|
545
545
|
name: chalk.dim("━".repeat(70)),
|
|
546
546
|
value: "separator",
|
|
547
|
-
disabled:
|
|
547
|
+
disabled: true,
|
|
548
548
|
},
|
|
549
549
|
{ name: "🔍 重新搜索", value: "search_again" },
|
|
550
550
|
{ name: "⬅️ 返回模板选择方式", value: "back_to_mode" }
|
|
@@ -589,7 +589,7 @@ async function selectFromAll() {
|
|
|
589
589
|
categorizedChoices.push({
|
|
590
590
|
name: chalk.yellow.bold("🎨 前端项目"),
|
|
591
591
|
value: "frontend_header",
|
|
592
|
-
disabled:
|
|
592
|
+
disabled: true
|
|
593
593
|
});
|
|
594
594
|
|
|
595
595
|
Object.entries(allTemplates)
|
|
@@ -611,7 +611,7 @@ async function selectFromAll() {
|
|
|
611
611
|
categorizedChoices.push({
|
|
612
612
|
name: chalk.dim(" " + "─".repeat(66)),
|
|
613
613
|
value: `sep_${key}`,
|
|
614
|
-
disabled:
|
|
614
|
+
disabled: true
|
|
615
615
|
});
|
|
616
616
|
});
|
|
617
617
|
|
|
@@ -619,7 +619,7 @@ async function selectFromAll() {
|
|
|
619
619
|
categorizedChoices.push({
|
|
620
620
|
name: chalk.yellow.bold("📱 移动端项目"),
|
|
621
621
|
value: "mobile_header",
|
|
622
|
-
disabled:
|
|
622
|
+
disabled: true
|
|
623
623
|
});
|
|
624
624
|
|
|
625
625
|
Object.entries(allTemplates)
|
|
@@ -639,7 +639,7 @@ async function selectFromAll() {
|
|
|
639
639
|
categorizedChoices.push({
|
|
640
640
|
name: chalk.dim(" " + "─".repeat(66)),
|
|
641
641
|
value: `sep_${key}`,
|
|
642
|
-
disabled:
|
|
642
|
+
disabled: true
|
|
643
643
|
});
|
|
644
644
|
});
|
|
645
645
|
|
|
@@ -647,7 +647,7 @@ async function selectFromAll() {
|
|
|
647
647
|
categorizedChoices.push({
|
|
648
648
|
name: chalk.yellow.bold("🚀 后端项目"),
|
|
649
649
|
value: "backend_header",
|
|
650
|
-
disabled:
|
|
650
|
+
disabled: true
|
|
651
651
|
});
|
|
652
652
|
|
|
653
653
|
Object.entries(allTemplates)
|
|
@@ -668,7 +668,7 @@ async function selectFromAll() {
|
|
|
668
668
|
categorizedChoices.push({
|
|
669
669
|
name: chalk.dim(" " + "─".repeat(66)),
|
|
670
670
|
value: `sep_${key}`,
|
|
671
|
-
disabled:
|
|
671
|
+
disabled: true
|
|
672
672
|
});
|
|
673
673
|
});
|
|
674
674
|
|
|
@@ -676,7 +676,7 @@ async function selectFromAll() {
|
|
|
676
676
|
categorizedChoices.push({
|
|
677
677
|
name: chalk.yellow.bold("💻 桌面端项目"),
|
|
678
678
|
value: "desktop_header",
|
|
679
|
-
disabled:
|
|
679
|
+
disabled: true
|
|
680
680
|
});
|
|
681
681
|
|
|
682
682
|
Object.entries(allTemplates)
|
|
@@ -697,7 +697,7 @@ async function selectFromAll() {
|
|
|
697
697
|
categorizedChoices.push({
|
|
698
698
|
name: chalk.dim(" " + "─".repeat(66)),
|
|
699
699
|
value: `sep_${key}`,
|
|
700
|
-
disabled:
|
|
700
|
+
disabled: true
|
|
701
701
|
});
|
|
702
702
|
});
|
|
703
703
|
|
|
@@ -706,7 +706,7 @@ async function selectFromAll() {
|
|
|
706
706
|
{
|
|
707
707
|
name: chalk.dim("━".repeat(70)),
|
|
708
708
|
value: "separator",
|
|
709
|
-
disabled:
|
|
709
|
+
disabled: true,
|
|
710
710
|
},
|
|
711
711
|
{
|
|
712
712
|
name: chalk.dim("⬅️ 返回模板选择方式"),
|