pub type CommandFn = Arc<dyn Fn(AppContext, Vec<String>) -> BoxFuture<'static, Result<(), BoxError>> + Send + Sync>;
The function behind a CommandSpec.
CommandSpec
pub struct CommandFn { /* private fields */ }