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 bottom;
13pub mod children;
14pub mod cleanup;
15pub mod completions;
16pub mod config;
17pub mod detach;
18pub mod down;
19pub mod list;
20pub mod merge;
21pub mod new;
22pub mod parent;
23pub mod provider;
24pub mod rename;
25pub mod repair;
26pub mod restack;
27pub mod review;
28pub mod setup;
29pub mod status;
30pub mod submit;
31pub mod sync;
32pub mod top;
33pub mod up;
34pub mod upgrade;