Browse Source

chore(cli): Improve colors of initial CLI prompt

Michael Bromley 1 năm trước cách đây
mục cha
commit
ae27b194eb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/cli/src/commands/add/add.ts

+ 1 - 1
packages/cli/src/commands/add/add.ts

@@ -32,7 +32,7 @@ export async function addCommand() {
         message: 'Which feature would you like to add?',
         options: addCommands.map(c => ({
             value: c.id,
-            label: `[${c.category}] ${c.description}`,
+            label: `${pc.blue(`${c.category}`)} ${c.description}`,
         })),
     });
     if (isCancel(featureType)) {