فهرست منبع

chore(cli): Improve colors of initial CLI prompt

Michael Bromley 1 سال پیش
والد
کامیت
ae27b194eb
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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?',
         message: 'Which feature would you like to add?',
         options: addCommands.map(c => ({
         options: addCommands.map(c => ({
             value: c.id,
             value: c.id,
-            label: `[${c.category}] ${c.description}`,
+            label: `${pc.blue(`${c.category}`)} ${c.description}`,
         })),
         })),
     });
     });
     if (isCancel(featureType)) {
     if (isCancel(featureType)) {