Command implementations grouped by feature area.
Tutorial overview:
- This file acts like a “directory index” for the
commandsnamespace. - It defines and exports submodules for each major feature area:
commit,compare,git,stack, andworkspace.
Rust concepts used here:
moddeclares a module;pub modre-exports it so other modules can use it.- Each submodule is defined in its own file (e.g.,
commands/commit.rs).
Source:
src/commands/mod.rs