Skip to content
Snippets Groups Projects

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading