1 2 3 4 5 6 7 8 9 10
use yazi_macro::{emit, relay}; use yazi_parser::which::ShowOpt; pub struct WhichProxy; impl WhichProxy { pub fn show(opt: ShowOpt) { emit!(Call(relay!(which:show).with_any("opt", opt))); } }