Backlight color for command line interface!
Project description
Colors-cli
The colors-cli help you for backlight and formatting your cli text
Usage:
from colors_cli import Clrs
print(Clrs.green("Hello world!")) # Output green text in cli
print(Clrs.blue("Hello world!")) # Output blue text in cli
print(Clrs.warn("Warning!")) # Output yellow color
print(Clrs.fail("Error!")) # Output red color
print(Clrs.bold(Clrs.violet(Clrs.bckg("Hello world!")))) # Output bold and violet with background text
Output
All methods:
green(string) -> str
- Return green stringblue(string) -> str
- Return blue stringcyan(string) -> str
- Return cyan stringwarn(string) -> str
- Return yellow stringfail(string) -> str
- Return fail stringviolet(string) -> str
- Return violet stringbold(string) -> str
- Return bold stringunderline(string) -> str
- Return underline stringbckg(string) -> str
- Return string with background
All fields:
ENDC
- For end colorRED
BLUE
CYAN
GREEN
VIOLET
YELLOW
BOLD
UNDERLINE
BACKGROUND
Enjoy using! :)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
colors_cli-1.23.tar.gz
(1.9 kB
view hashes)