use crate::imports::*;
#[derive(Default, Handler)]
#[help("Close an opened wallet")]
pub struct Close;
impl Close {
async fn main(self: Arc<Self>, ctx: &Arc<dyn Context>, _argv: Vec<String>, cmd: &str) -> Result<()> {
Ok(ctx.term().exec(format!("wallet {cmd}")).await?)
}
}