forked from 1b-agent/opencadstudio-upstream
feat(help): open GitHub Discussions from the HELP command
HELP was registered for autocomplete but had no dispatch arm, so it reported an unknown command. Route it through open_url to the project's GitHub Discussions page, matching the DONATE/WEBVERSION external-link commands. Closes #307 Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
2a72227d5d
commit
438cbd17b1
1 file changed
+6
@@ -13,6 +13,12 @@ impl OpenCADStudio {
|
||||
self.command_line.push_info("Opening OCS Web...");
|
||||
}
|
||||
|
||||
"HELP" => {
|
||||
crate::sys::open_url("https://github.com/HakanSeven12/OpenCADStudio/discussions");
|
||||
self.command_line
|
||||
.push_info("Opening OCS Discussions for help and questions...");
|
||||
}
|
||||
|
||||
// ── DWGPROPS — print round-trip-only HeaderVariables ─────────
|
||||
// No UI dialog for these yet; the command surfaces them so
|
||||
// users can confirm the values that the parser populated and
|
||||
|
||||
Reference in new issue
Block a user