I am using a click package to create a command line tool. However, I would like to have a list command. For instance:
@click.command @click.option(help='list...') def list():
Is there any other way to click to pass a command name other than a function name? I do not want this function to be poked by python built in to list . I looked through the documentation and cannot find anything about the command names - I read the command aliases, but this does not seem to help this problem. Or do I need to worry about the list being obscured as it will be wrapped in click decor? Thank you in advance.
source share