Comments (3)
Thanks @rasa for the issue. It made me realise the lack of documentation on that specific topic: how do you customize the preset of defaults extra_
decorators.
I just wrote some documentation at: https://kdeldycke.github.io/click-extra/commands.html#default-options
Can you please check this out and tell me if it addresses your issue?
from click-extra.
Yes, this helps a lot. Works like a charm.
from click-extra.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from click-extra.
Related Issues (20)
- Help text shows config option twice HOT 5
- Passing `logging.root` to `verbosity_option()` doesn't set logging level HOT 5
- `version_option` displays click-extra version HOT 6
- How can I load a dotfile as a config file? HOT 5
- Default config location should follow XDG Base Directory Specification HOT 3
- `extra_command` not found? HOT 4
- `+B` short option fails: `re.error: nothing to repeat` HOT 3
- Duplicate `version_option` raises `AssertionError` HOT 2
- Use default `root` logger in `VerbosityOption` HOT 3
- Question: Get loaded config file path HOT 4
- Always compute version number and pass it in context. HOT 7
- `plain-text` configuration file
- Coloring help for sub commands HOT 7
- Option leaks between subcommands HOT 4
- Use `rich.highlighter.RegexHighlighter` for help screen colouring?
- Continuous testing against Click and Cloup dev version HOT 1
- Removing all default extra options from `@extra_command` disable help screen colouring HOT 8
- Change order of commands HOT 3
- Merge cascading/hierarchical configuration files
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-extra.