14 lines
275 B
Rust
14 lines
275 B
Rust
pub struct Auth;
|
|
|
|
impl util::Cmd for Auth {
|
|
fn cmd() -> eyre::Result<clap::Command> {
|
|
Ok(clap::Command::new("auth"))
|
|
}
|
|
|
|
fn exec(_: &clap::ArgMatches) -> eyre::Result<()> {
|
|
util::shell::run(&["gh", "auth", "login"], None)?;
|
|
|
|
Ok(())
|
|
}
|
|
}
|