Skip to content

Commit b791f2e

Browse files
author
James Zhu
committed
Add URL display to 'extensions browse' command
- Show repository URL for each extension in the browse output - Format: name - description [author/repo] (⭐ stars) - URL - Improves discoverability and makes it easier to install extensions
1 parent f525705 commit b791f2e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

code_assistant_manager/cli/extension_commands.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,16 @@ def browse_extensions(
6464
url = ext.get('url', '')
6565
stars = ext.get('stars', 0)
6666

67-
# Format: name - description [author/repo] (⭐ stars)
67+
# Format: name - description [author/repo] (⭐ stars) - URL
6868
line = f"• {name}"
6969
if description:
7070
line += f" - {description}"
7171
if full_name:
7272
line += f" [{full_name}]"
7373
if stars > 0:
7474
line += f" (⭐ {stars})"
75+
if url:
76+
line += f" - {url}"
7577

7678
typer.echo(line)
7779

0 commit comments

Comments
 (0)