Comments (2)
I'm not a fan of making decorators magically try to "fix themselves". You get an error anyways if something is wrong. If there are more voices that this behavior is confusing I'm more in favor of always requiring parentheses.
from click.
There is no activity on this issue, i'm going to close it.
from click.
Related Issues (20)
- Issue with Click Groups HOT 1
- Documentation -- alias of second option, confusing order
- Make ProgressBar type available in public interface HOT 1
- double hyphen (--) not escaping "option-like positional arguments" HOT 2
- Flag option with secondary opts: show_default=True does not show value from default_map in "help" output
- `tests/test_types.py::test_file_surrogates` test is missing the `skipif not _non_utf8_filenames_supported` marker
- Verify type hints matching types of options/args HOT 3
- CliRunner(mix_stderr=False) does not capture all writes to stderr HOT 2
- Click's handling of bare double-dash/hyphen '--' is incorrect HOT 1
- Shell completion bash version check fail in git-bash on windows
- How to set the prog name of a group?
- Click doesn't close file options during shell completion
- Eager open/close of a LazyFile for error handling can make fifo reading fail
- Unflushed stderr doesn't get captured via CliRunner HOT 6
- Bug Report: Unexpected Error in core.py (line 1390) - Possible Type Issue with complete_var HOT 1
- click doesn't respect mock HOT 1
- --help usage: [OPTIONS] swapped with COMMAND HOT 1
- Allow passing callable as help epilog HOT 1
- Add mechanism to validate remote files in a parameter type HOT 6
- Option not working as expected when using a prompt and a callback function. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from click.