-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Open
Description
Problem
specify extension list does not display the extension ID in its output.
When extension names are ambiguous, users are instructed to use the extension ID instead:
Please rerun using the extension ID:
specify extension <command> <extension-id>
However, users have no way to discover the ID without manually inspecting .specify/extensions/registry.json.
Current Output
✓ Extension Name (v1.0.0)
Description here
Commands: 2 | Hooks: 0 | Status: Enabled
Expected Output
✓ Extension Name (v1.0.0)
publisher/extension-id
Description here
Commands: 2 | Hooks: 0 | Status: Enabled
Fix
Add the ID to the output in extension_list() (init.py:1953-1959):
console.print(f" [{status_color}]{status_icon}[/{status_color}] [bold]{ext['name']}[/bold] (v{ext['version']})")
console.print(f" [dim]{ext['id']}[/dim]") # ADD THIS
console.print(f" {ext['description']}")Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels