mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-10-26 15:13:22 +03:00
Implement local filename completion for the transfer kitten
This commit is contained in:
parent
4b3d29ecc3
commit
c10ea63818
@ -128,8 +128,10 @@ def main(args: List[str]) -> None:
|
||||
if __name__ == '__main__':
|
||||
main(sys.argv)
|
||||
elif __name__ == '__doc__':
|
||||
from kitty.cli import CompletionSpec
|
||||
cd = sys.cli_docs # type: ignore
|
||||
cd['usage'] = usage
|
||||
cd['options'] = option_text
|
||||
cd['help_text'] = help_text
|
||||
cd['short_desc'] = 'Transfer files easily over the TTY device'
|
||||
cd['args_completion'] = CompletionSpec.from_string('type:file group:"Files"')
|
||||
|
Loading…
Reference in New Issue
Block a user