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:
Hakan SevenandClaude Opus 4.8 committed 2026-07-11 10:02:08 +03:00
1 parent 2a72227d5d
commit 438cbd17b1
1 file changed
+6
+6
View File
@@ -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