pub fn resolve_command_name_or_alias(
registry: &CommandRegistry,
name: &str,
) -> Option<CommandId>Expand description
Resolve a user-typed command spelling against the registry,
trying the canonical form first then falling back to the alias
table. Mirrors parse’s two-stage resolution so introspection
(:describe-command, :apropos) accepts both forms a user can
type at : (canonical ex:write or alias w / write).
Relocated to lattice-host in 5.5.F.2 alongside the
:describe-command builder that depends on it.