Skip to main content

args_cli/
command.rs

1mod login;
2mod status;
3
4use clap::Parser;
5
6use login::LoginArgs;
7use status::StatusArgs;
8
9#[derive(Parser, Debug)]
10#[command(version, about, long_about = None)]
11pub enum Args {
12    /// Authenticate with args OAuth and store credentials locally
13    Login(LoginArgs),
14
15    /// Display the current authentication state and logged-in user
16    Status(StatusArgs),
17    // TODO: re-enable as these features ship.
18    // Save(SaveArgs),
19    // Review(ReviewArgs),
20    // Ci(CiArgs),
21    // Runner(RunnerArgs),
22}