14 lines
269 B
Rust
14 lines
269 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"])?;
|
||
|
|
||
|
Ok(())
|
||
|
}
|
||
|
}
|