cli: add support for aliases in click command groups
this allows to rename (sub)commands while keeping the old name working, albeit not listed in help messages.
Say one wants to rename: swh scheduler api-server as swh scheduler rpc-serve
but keep the former version usable.
Also fix logging config in main's swh command we want the root logger configured there, not the cli one.
Related to #1671 (closed).
Migrated from D1479 (view on Phabricator)
Merge request reports
Activity
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/224/ See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/224/console
! In !60 (closed), @olasd wrote: Please add click in requirements-test.txt :-)
Woopidoops! good catch, thx!
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/225/ See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/225/console