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