cli: hide deprecated subcommands from --help
Fixes #1267 (closed)
Hide deprecated subcommands from the CLI help output by suppressing their help text, while keeping them callable for backwards compatibility.
This improves usability and prevents shell completion from suggesting deprecated commands.