Conversation
Member
Author
c658c82 to
d917590
Compare
4e0d3db to
12d92a5
Compare
d917590 to
9584148
Compare
08c0d48 to
c069be5
Compare
e3fe2fa to
67c4bca
Compare
9a893be to
85f1811
Compare
67c4bca to
4ae86d3
Compare
85f1811 to
522f43a
Compare
fengmk2
commented
Dec 12, 2025
d2abf23 to
4743f4d
Compare
4ae86d3 to
b4e29db
Compare
This was referenced Dec 15, 2025
4743f4d to
4a06fee
Compare
b4e29db to
5655019
Compare
5655019 to
fe27503
Compare
4a06fee to
dfd9310
Compare
dfd9310 to
c8d3b03
Compare
c8d3b03 to
17d6984
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR simplifies the CLI command structure by removing package manager-related commands and retaining only core functionality. The change improves usability by reducing complexity and adding descriptive help text for each command.
Key changes:
- Removed 9 package manager commands (add, remove, update, dedupe, outdated, why, link, unlink, pm) and their implementations
- Added concise command descriptions to improve CLI help output
- Simplified the
is_package_manager_command()function to only check for theinstallcommand
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/cli/binding/src/commands/add.rs | Deleted - removed add command implementation |
| packages/cli/binding/src/commands/dedupe.rs | Deleted - removed dedupe command implementation |
| packages/cli/binding/src/commands/link.rs | Deleted - removed link command implementation |
| packages/cli/binding/src/commands/mod.rs | Updated module declarations to remove deleted command modules |
| packages/cli/binding/src/commands/outdated.rs | Deleted - removed outdated command implementation |
| packages/cli/binding/src/commands/pm.rs | Deleted - removed package manager utilities command |
| packages/cli/binding/src/commands/remove.rs | Deleted - removed remove command implementation |
| packages/cli/binding/src/commands/unlink.rs | Deleted - removed unlink command implementation |
| packages/cli/binding/src/commands/update.rs | Deleted - removed update command implementation |
| packages/cli/binding/src/commands/why.rs | Deleted - removed why command implementation |
| packages/cli/binding/src/cli.rs | Removed imports and command definitions for deleted commands, added command descriptions, simplified command handling logic, and removed helper functions and tests for deleted commands |
| packages/cli/snap-tests/command-helper/snap.txt | Added snapshot test output showing new help message with command descriptions |
| packages/cli/snap-tests/command-helper/steps.json | Added test case for help message verification |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
branchseer
approved these changes
Dec 18, 2025
Member
Author
17d6984 to
8ec65ec
Compare
This was referenced Dec 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR
Simplified CLI command structure by removing package manager related commands.
What changed?
add,remove,update,dedupe,outdated,why,link,unlink, andpm)is_package_manager_command()function to only check for theinstallcommandHow to test?
vite -hto verify the updated command listrun,lint,fmt,build,test,lib,dev,doc,cache, andinstallWhy make this change?
This change streamlines the CLI interface by focusing on core functionality and removing rarely used package manager commands. This makes the CLI more approachable for new users and reduces maintenance overhead. The simplified command structure aligns better with the primary purpose of the tool while still maintaining the essential
installcommand for backward compatibility.