Skip to content

Commit 4f949b9

Browse files
fix(project): improve project listing output formatting
1 parent 3782b50 commit 4f949b9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/commands/project.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ export async function listProjectsCommand() {
4848
console.log(chalk.bold("\nProjects:"));
4949
for (const p of config.projects) {
5050
const isDefault = p.name === config.defaultProject;
51-
console.log(` ${isDefault ? chalk.cyan("*") : " "} ${p.name} ${chalk.gray(`<${p.email}>`)}`);
51+
const marker = isDefault ? chalk.cyan("*") : " ";
52+
const email = chalk.gray(`<${p.email}>`);
53+
console.log(` ${marker} ${p.name} ${email}`);
5254
}
5355
}
5456

0 commit comments

Comments
 (0)