diff --git a/typer/__init__.py b/typer/__init__.py index 48444e6..19081b4 100644 --- a/typer/__init__.py +++ b/typer/__init__.py @@ -36,3 +36,4 @@ from .models import ( # noqa FileTextWrite, ) from .params import Argument, Option # noqa +from . import colors # noqa diff --git a/typer/colors.py b/typer/colors.py new file mode 100644 index 0000000..39198fe --- /dev/null +++ b/typer/colors.py @@ -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'