Skip to content
Myr

:sparkles: Add colors module

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sebastián Ramírez · committed by Sebastián Ramírez · parent 2af53e6 · Browse files · 2 files+21 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+21 added−0 removed

  • other:+21 added−0 removed

2 files+21 added−0 removed

modified:typer/__init__.py+1 added
34 unmodified lines
35 FileText,36 FileTextWrite,37)38from .params import Argument, Option # noqa39from . import colors # noqa
added:typer/colors.py+20 added
1# Variable names to colors, just for completion2BLACK = 'black'3RED = 'red'4GREEN = 'green'5YELLOW = 'yellow'6BLUE = 'blue'7MAGENTA = 'magenta'8CYAN = 'cyan'9WHITE = 'white'1011RESET = 'reset'1213BRIGHT_BLACK = 'bright_black'14BRIGHT_RED = 'bright_red'15BRIGHT_GREEN = 'bright_green'16BRIGHT_YELLOW = 'bright_yellow'17BRIGHT_BLUE = 'bright_blue'18BRIGHT_MAGENTA = 'bright_magenta'19BRIGHT_CYAN = 'bright_cyan'20BRIGHT_WHITE = 'bright_white'