1 2 3 4 5 6 7 8 9 10 11 12 13
use super::*; /// Logout of your Railway account #[derive(Parser)] pub struct Args {} pub async fn command(_args: Args, _json: bool) -> Result<()> { let mut configs = Configs::new()?; configs.reset()?; configs.write()?; println!("Logged out successfully"); Ok(()) }