Simplify handling of --no-response

This commit is contained in:
Kovid Goyal
2021-10-30 12:15:37 +05:30
parent 3553b3ce3d
commit 66a7c3bc4d
9 changed files with 4 additions and 20 deletions

View File

@@ -31,7 +31,7 @@ def generate_stub() -> None:
do(options_spec(), 'LaunchCLIOptions')
from .remote_control import global_options_spec
do(global_options_spec(), 'RCOptions', extra_fields=['no_command_response: typing.Optional[bool]'])
do(global_options_spec(), 'RCOptions')
from kittens.ask.main import option_text
do(option_text(), 'AskCLIOptions')