fix(command): register remaining interactive commands for autocomplete

ARRAY3D/3DARRAY, ATTEDIT/ATE, DDEDIT/ED and WIPEOUT/WO dispatched on literal
matches but had no CommandRegistration entry, so none surfaced in command-line
autocomplete. Add the inventory submit in each command's module, matching the
convention used by the other interactive commands. Audit confirms no remaining
active_cmd dispatch lacks a registration.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 4.8 committed 2026-06-21 12:20:36 +03:00
1 parent 895937913f
commit 5673612047
4 files changed
+12

No files matched your search

+3
View File
@@ -64,3 +64,6 @@ impl CadCommand for DdeditCommand {
CmdResult::Cancel
}
}
// ── Autocomplete registry ─────────────────────────────────
inventory::submit!(crate::command::CommandRegistration { names: &["DDEDIT", "ED"] });
+3
View File
@@ -183,3 +183,6 @@ fn make_poly_wipeout(pts: &[Vec3]) -> EntityType {
.collect();
EntityType::Wipeout(Wipeout::polygonal(&verts, z))
}
// ── Autocomplete registry ─────────────────────────────────
inventory::submit!(crate::command::CommandRegistration { names: &["WIPEOUT", "WO"] });
+3
View File
@@ -1029,3 +1029,6 @@ impl CadCommand for Array3DCommand {
vec![]
}
}
// ── Autocomplete registry ─────────────────────────────────
inventory::submit!(crate::command::CommandRegistration { names: &["ARRAY3D", "3DARRAY"] });
+3
View File
@@ -176,3 +176,6 @@ pub fn apply_attedit(doc: &mut acadrust::CadDocument, handle: acadrust::Handle,
}
}
}
// ── Autocomplete registry ─────────────────────────────────
inventory::submit!(crate::command::CommandRegistration { names: &["ATTEDIT", "ATE"] });