You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
distant/src/subcommand/clear_session.rs

8 lines
181 B
Rust

use crate::utils::Session;
use tokio::io;
pub fn run() -> Result<(), io::Error> {
let rt = tokio::runtime::Runtime::new()?;
rt.block_on(async { Session::clear().await })
}