pub type NodeFn<P, R> = Box<dyn FnOnce(&ArgMatches, Option<P>) -> Result<R, TreeError>>;
Defines the type of function to be called in the command tree.
pub struct NodeFn<P, R>(/* private fields */);