Skip to content

CLI help advertises unimplemented Shift+D duplicate #77

@ecto

Description

@ecto

Problem

crates/vcad-cli/src/app.rs:1171 prints help text telling users:

Duplicate: select a part and press Shift+D (TODO)

The keystroke does nothing. The (TODO) marker made it into user-facing help.

Fix options

A. Remove advertisement (fast, unblocks launch): Strip the line from the help output until the feature ships.

B. Implement it: Bind Shift+D to duplicate the selected part(s) — reuse existing clone/copy logic from the web app (useDocumentStore duplicate path) as reference.

Prefer A for launch, then do B as a follow-up.

Acceptance

  • vcad interactive help no longer mentions unimplemented shortcuts.
  • If implemented: Shift+D duplicates the active selection with a fresh ID and a small translation offset.

Launch priority

P1 — should fix before launch.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions