macro_rules! define_interface {
    (command {$($variant:ident = $val:expr),*,}) => { ... };
}