codeberg_cli/actions/user/
mod.rs

1pub mod info;
2
3use clap::Subcommand;
4
5use super::GeneralArgs;
6
7/// User subcommands
8#[derive(Subcommand, Debug)]
9pub enum UserArgs {
10    Info(info::UserInfoArgs),
11}
12
13impl UserArgs {
14    pub async fn run(self, general_args: GeneralArgs) -> anyhow::Result<()> {
15        match self {
16            UserArgs::Info(args) => args.run(general_args).await,
17        }
18    }
19}