@@ -952,6 +952,7 @@ def __init__(
952952 # Rich settings
953953 rich_markup_mode : typer .core .MarkupMode = Default (DEFAULT_MARKUP_MODE ),
954954 rich_help_panel : t .Union [str , None ] = Default (None ),
955+ suggest_commands : bool = True ,
955956 pretty_exceptions_enable : bool = True ,
956957 pretty_exceptions_show_locals : bool = False ,
957958 pretty_exceptions_short : bool = True ,
@@ -990,6 +991,7 @@ def __init__(
990991 add_completion = add_completion ,
991992 rich_markup_mode = rich_markup_mode ,
992993 rich_help_panel = rich_help_panel ,
994+ suggest_commands = suggest_commands ,
993995 pretty_exceptions_enable = pretty_exceptions_enable ,
994996 pretty_exceptions_show_locals = pretty_exceptions_show_locals ,
995997 pretty_exceptions_short = pretty_exceptions_short ,
@@ -2036,6 +2038,7 @@ def __new__(
20362038 deprecated : bool = Default (False ),
20372039 rich_markup_mode : typer .core .MarkupMode = Default (DEFAULT_MARKUP_MODE ),
20382040 rich_help_panel : t .Union [str , None ] = Default (None ),
2041+ suggest_commands : bool = True ,
20392042 pretty_exceptions_enable : t .Union [DefaultPlaceholder , bool ] = Default (True ),
20402043 pretty_exceptions_show_locals : t .Union [DefaultPlaceholder , bool ] = Default (
20412044 False
@@ -2107,6 +2110,7 @@ def command_bases() -> t.Generator[t.Type[TyperCommand], None, None]:
21072110 add_completion = False , # see autocomplete command instead!
21082111 rich_markup_mode = rich_markup_mode ,
21092112 rich_help_panel = rich_help_panel ,
2113+ suggest_commands = suggest_commands ,
21102114 pretty_exceptions_enable = pretty_exceptions_enable ,
21112115 pretty_exceptions_show_locals = t .cast (
21122116 bool , pretty_exceptions_show_locals
0 commit comments