#102292Respect the AsCommand `hidden` constructor argument
Description
Symfony’s AsCommand attribute encodes `hidden = true` into
a trailing `|` for the name attribute. Drop that for our
command list and mark the command as hidden in the command
registry.