We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At present (from what I can tell) the name of the click application is figured out automatically, for instance...
$ python app.py Usage: app.py [OPTIONS] COMMAND [ARGS]...
If the application is a module, and the click application is invoked via __main__.py the help text is a little unhelpful...
__main__.py
$ python -m app Usage: __main__.py [OPTIONS] COMMAND [ARGS]...
Is there a way of changing this, and if not could someone point me in the direction for a pull request?
The text was updated successfully, but these errors were encountered:
You might wanna have a look at https://github.com/mitsuhiko/click/blob/f3ee4e539ef4d81a20465009ea30cc12283547c0/click/core.py#L461-L462
Sorry, something went wrong.
Ah, thanks. I was struggling to find that. Passing the prog_name argument does the trick!
prog_name
No branches or pull requests
At present (from what I can tell) the name of the click application is figured out automatically, for instance...
If the application is a module, and the click application is invoked via
__main__.py
the help text is a little unhelpful...Is there a way of changing this, and if not could someone point me in the direction for a pull request?
The text was updated successfully, but these errors were encountered: