Skip to main content

git_stk/commands/
mod.rs

1//! One module per CLI command. Every command is a clap `Args` struct that
2//! implements [`Run`], so each has the same shape: parse, then `run()`.
3
4use anyhow::Result;
5
6/// The interface every command implements.
7pub trait Run {
8    fn run(self) -> Result<()>;
9}
10
11pub mod adopt;
12pub mod children;
13pub mod cleanup;
14pub mod completions;
15pub mod config;
16pub mod detach;
17pub mod down;
18pub mod list;
19pub mod merge;
20pub mod new;
21pub mod parent;
22pub mod provider;
23pub mod repair;
24pub mod restack;
25pub mod review;
26pub mod setup;
27pub mod status;
28pub mod submit;
29pub mod sync;
30pub mod up;
31pub mod upgrade;