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
Hi! I am using the click.FloatRange and when using the --help the range is returned by click at the end of the help.
--help
However with sphinx-click, it doesn't seem to appear in the documentation.
Here is a minimal example:
import click @click.command() @click.option("--number", type=click.FloatRange(0, 3), help="Your range") def cli(number) -> None: print("Hello, world!") if __name__ == "__main__": cli()
Running python small_example.py --help returns:
python small_example.py --help
Usage: small_example.py [OPTIONS] Options: --number FLOAT RANGE Your range [0<=x<=3] --help Show this message and exit.
But this range cannot be seen in the documentation generated by sphinx-click.
Env: python==3.9.18 sphinx-click==6.0.0 click==8.1.7
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! I am using the click.FloatRange and when using the
--help
the range is returned by click at the end of the help.However with sphinx-click, it doesn't seem to appear in the documentation.
Here is a minimal example:
Running
python small_example.py --help
returns:But this range cannot be seen in the documentation generated by sphinx-click.
Env:
python==3.9.18
sphinx-click==6.0.0
click==8.1.7
The text was updated successfully, but these errors were encountered: