From 858f993ceffb497bee12457d1d4102339af410a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sat, 28 Dec 2019 15:09:06 +0100 Subject: [PATCH] :fire: Clean exports from typer, remove unneeded Click components and add Exit exception --- typer/__init__.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/typer/__init__.py b/typer/__init__.py index d3ba347..92127f1 100644 --- a/typer/__init__.py +++ b/typer/__init__.py @@ -4,14 +4,7 @@ __version__ = "0.0.4" from click.exceptions import ( # noqa Abort, - BadArgumentUsage, - BadOptionUsage, - BadParameter, - ClickException, - FileError, - MissingParameter, - NoSuchOption, - UsageError, + Exit, ) from click.termui import ( # noqa clear, @@ -33,7 +26,6 @@ from click.utils import ( # noqa format_filename, get_app_dir, get_binary_stream, - get_os_args, get_text_stream, open_file, )