Skip to content

Playbooks for g

Story-style workflows—solo, team, and on-call. Jump into the full Use cases page anytime.

commands

Command implementations grouped by feature area.

auto-generated This page is built from //! comments in the Rust source. Edit the source and run npm run docs:extract to update it.

Command implementations grouped by feature area.

Tutorial overview:

  • This file acts like a “directory index” for the commands namespace.
  • It defines and exports submodules for each major feature area: commit, compare, git, stack, and workspace.

Rust concepts used here:

  • mod declares a module; pub mod re-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