14 lines
262 B
Rust
14 lines
262 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(&["src", "login"])?;
|
||
|
|
||
|
Ok(())
|
||
|
}
|
||
|
}
|