Skip to content

Commit 94bbaa6

Browse files
Han5991claude
andcommitted
docs(cli): add rebuild to help output and documentation URL
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent dc2efc3 commit 94bbaa6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/vite_global_cli/src/help.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fn documentation_url_for_command_path(command_path: &[&str]) -> Option<&'static
6565
["config"] | ["staged"] => Some("https://viteplus.dev/guide/commit-hooks"),
6666
[
6767
"install" | "add" | "remove" | "update" | "dedupe" | "outdated" | "list" | "ls" | "why"
68-
| "info" | "view" | "show" | "link" | "unlink" | "pm",
68+
| "info" | "view" | "show" | "link" | "unlink" | "rebuild" | "pm",
6969
..,
7070
] => Some("https://viteplus.dev/guide/install"),
7171
["dev"] => Some("https://viteplus.dev/guide/dev"),
@@ -477,6 +477,7 @@ pub fn top_level_help_doc() -> HelpDoc {
477477
row("info, view, show", "View package information from the registry"),
478478
row("link, ln", "Link packages for local development"),
479479
row("unlink", "Unlink packages"),
480+
row("rebuild", "Rebuild native modules"),
480481
row("pm", "Forward a command to the package manager"),
481482
],
482483
),

0 commit comments

Comments
 (0)