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 <noreply@anthropic.com>
This commit is contained in:
parent
2a72227d5d
commit
438cbd17b1
1 changed files with 6 additions and 0 deletions
|
|
@ -13,6 +13,12 @@ impl OpenCADStudio {
|
||||||
self.command_line.push_info("Opening OCS Web...");
|
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 ─────────
|
// ── DWGPROPS — print round-trip-only HeaderVariables ─────────
|
||||||
// No UI dialog for these yet; the command surfaces them so
|
// No UI dialog for these yet; the command surfaces them so
|
||||||
// users can confirm the values that the parser populated and
|
// users can confirm the values that the parser populated and
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue