Coverage for typer/__init__.py: 100%

34 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-09-09 18:26 +0000

1"""Typer, build great CLIs. Easy to code. Based on Python type hints.""" 

2 

3__version__ = "0.12.5" 1abcdefgh

4 

5from shutil import get_terminal_size as get_terminal_size 1abcdefgh

6 

7from click.exceptions import Abort as Abort 1abcdefgh

8from click.exceptions import BadParameter as BadParameter 1abcdefgh

9from click.exceptions import Exit as Exit 1abcdefgh

10from click.termui import clear as clear 1abcdefgh

11from click.termui import confirm as confirm 1abcdefgh

12from click.termui import echo_via_pager as echo_via_pager 1abcdefgh

13from click.termui import edit as edit 1abcdefgh

14from click.termui import getchar as getchar 1abcdefgh

15from click.termui import launch as launch 1abcdefgh

16from click.termui import pause as pause 1abcdefgh

17from click.termui import progressbar as progressbar 1abcdefgh

18from click.termui import prompt as prompt 1abcdefgh

19from click.termui import secho as secho 1abcdefgh

20from click.termui import style as style 1abcdefgh

21from click.termui import unstyle as unstyle 1abcdefgh

22from click.utils import echo as echo 1abcdefgh

23from click.utils import format_filename as format_filename 1abcdefgh

24from click.utils import get_app_dir as get_app_dir 1abcdefgh

25from click.utils import get_binary_stream as get_binary_stream 1abcdefgh

26from click.utils import get_text_stream as get_text_stream 1abcdefgh

27from click.utils import open_file as open_file 1abcdefgh

28 

29from . import colors as colors 1abcdefgh

30from .main import Typer as Typer 1abcdefgh

31from .main import run as run 1abcdefgh

32from .models import CallbackParam as CallbackParam 1abcdefgh

33from .models import Context as Context 1abcdefgh

34from .models import FileBinaryRead as FileBinaryRead 1abcdefgh

35from .models import FileBinaryWrite as FileBinaryWrite 1abcdefgh

36from .models import FileText as FileText 1abcdefgh

37from .models import FileTextWrite as FileTextWrite 1abcdefgh

38from .params import Argument as Argument 1abcdefgh

39from .params import Option as Option 1abcdefgh