Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Hide aliases from command list, show in help text #482
I think condensing the
utils.add_cmd(func, 'dosomething', aliases=('command1', 'command2'))
would be more straightforward.
In the future it also may be worth moving the featured/alias commands lists to attributes of each command function, to reduce the cleanup work needed when deregistering commands. This isn't something too urgent though, so it's fine to leave it for later. (We could even make command functions a class implementing