16 lines
210 B
Rust
16 lines
210 B
Rust
|
mod ui;
|
||
|
mod state;
|
||
|
|
||
|
use anyhow::Result;
|
||
|
|
||
|
#[tokio::main]
|
||
|
async fn main() -> Result<()> {
|
||
|
|
||
|
let stdout = ui::prepare()?;
|
||
|
|
||
|
let mut login = ui::login::UI::new(stdout)?;
|
||
|
login.run().await?;
|
||
|
|
||
|
Ok(())
|
||
|
}
|