mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 16:28:19 +02:00
Start work on porting the ask kitten
This commit is contained in:
@@ -539,3 +539,11 @@ if __name__ == '__main__':
|
||||
if ans:
|
||||
import json
|
||||
print(json.dumps(ans))
|
||||
elif __name__ == '__doc__':
|
||||
import sys
|
||||
|
||||
cd = sys.cli_docs # type: ignore
|
||||
cd['usage'] = ''
|
||||
cd['options'] = option_text
|
||||
cd['help_text'] = 'Ask the user for input'
|
||||
cd['short_desc'] = 'Ask the user for input'
|
||||
|
||||
Reference in New Issue
Block a user