✨ Add colors module
This commit is contained in:
parent
2af53e676a
commit
0ed9efe956
2 changed files with 21 additions and 0 deletions
|
@ -36,3 +36,4 @@ from .models import ( # noqa
|
|||
FileTextWrite,
|
||||
)
|
||||
from .params import Argument, Option # noqa
|
||||
from . import colors # noqa
|
||||
|
|
20
typer/colors.py
Normal file
20
typer/colors.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Variable names to colors, just for completion
|
||||
BLACK = 'black'
|
||||
RED = 'red'
|
||||
GREEN = 'green'
|
||||
YELLOW = 'yellow'
|
||||
BLUE = 'blue'
|
||||
MAGENTA = 'magenta'
|
||||
CYAN = 'cyan'
|
||||
WHITE = 'white'
|
||||
|
||||
RESET = 'reset'
|
||||
|
||||
BRIGHT_BLACK = 'bright_black'
|
||||
BRIGHT_RED = 'bright_red'
|
||||
BRIGHT_GREEN = 'bright_green'
|
||||
BRIGHT_YELLOW = 'bright_yellow'
|
||||
BRIGHT_BLUE = 'bright_blue'
|
||||
BRIGHT_MAGENTA = 'bright_magenta'
|
||||
BRIGHT_CYAN = 'bright_cyan'
|
||||
BRIGHT_WHITE = 'bright_white'
|
Loading…
Reference in a new issue