From 438cbd17b18de202216e99a8eabbd0b716230942 Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Sat, 11 Jul 2026 10:02:08 +0300 Subject: [PATCH] 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 --- src/app/commands/view.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/commands/view.rs b/src/app/commands/view.rs index e8e22dc1a..30467f870 100644 --- a/src/app/commands/view.rs +++ b/src/app/commands/view.rs @@ -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