You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: logout.rs
    path of file: ./repos/lagon/crates/cli/src/commands
    
    the code of the file until where you have to start completion: use crate::utils::{get_theme, Config};
use anyhow::{anyhow, Result};
use dialoguer::{console::style, Confirm};

pub fn logout() -> Result<()> {
    let mut config = Config::new()?;

    if config.token.is_none() {
        return Err(anyhow!("You are not logged in."));
    }

    match
    
pub fn logout() -> Result<()> {
    let mut config = Config::new()?;

    if config.token.is_none() {
        return Err(anyhow!("You are not logged in."));
    }

    match Confirm::with_theme(get_theme())
        .with_prompt("Do you really want to log out?")
        .default(true)
        .interact()?
    {
        true => {
            config.set_token(None);
            config.save()?;

            println!();
            println!(" {} You have been logged out!", style("◼").magenta());

            Ok(())
        }
        false => {
            println!();
            println!("{} Logout aborted", style("✕").red());
            Ok(())
        }
    }
}