Comments (3)
Hi, I added the HelpColorsMultiCommand
class. In your example, it would be:
#cli.py
from click_help_colors import HelpColorsMultiCommand
class MyCLI(HelpColorsMultiCommand):
...
@click.command(
cls=MyCLI,
help_headers_color='yellow',
help_options_color='green'
)
def cli():
"""The CLI."""
pass
See also the example in examples/multi_commands.py
from click-help-colors.
Great, worked perfectly.
When do you expect to update the pypi repo in order to be able to install with pip?
Thanks.
from click-help-colors.
Closing
from click-help-colors.
Related Issues (12)
- tests missing from pypi tarball HOT 2
- help_headers_color inconsistency
- Incompatibility with newer click 8.0
- Colors are not passed to sub commands when using click-plugins
- new release with click 8 support HOT 1
- Highlighting of options, choices and metavars HOT 1
- LICENSE.txt missing from MANIFEST.in
- PEP-0561 and PEP-0484: library is missing type information (mypy) HOT 1
- Please add error colors ... HOT 2
- Respect the NO_COLOR environment variable
- Colorize version_option
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-help-colors.