Summary
Rename the dual add command to dual init. This better reflects what the command does — it initializes a repo as a Dual workspace, creating config files and registering it in global state.
Breaking Change
dual add → dual init. The add subcommand is removed.
Implementation
src/cli.rs — Rename Add variant to Init, update clap attributes
src/main.rs — Rename cmd_add() → cmd_init(), update match arm
- User-facing messages — Update all references from "dual add" to "dual init" across info/error messages
- README.md — Update CLI command table and quick start section
Tests
- CLI parsing tests updated for
dual init
- Existing
add_subcommand and add_with_name tests renamed
Summary
Rename the
dual addcommand todual init. This better reflects what the command does — it initializes a repo as a Dual workspace, creating config files and registering it in global state.Breaking Change
dual add→dual init. Theaddsubcommand is removed.Implementation
src/cli.rs— RenameAddvariant toInit, update clap attributessrc/main.rs— Renamecmd_add()→cmd_init(), update match armTests
dual initadd_subcommandandadd_with_nametests renamed