mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Stub for receive in the transfer kitten
This commit is contained in:
parent
ed95f7dfa0
commit
14d36e3727
2 changed files with 14 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ def main(args: List[str]) -> None:
|
|||
raise SystemExit('Usage: kitty +kitten transfer file_or_directory ...')
|
||||
if cli_opts.direction == 'send':
|
||||
send_main(cli_opts, items)
|
||||
return
|
||||
else:
|
||||
receive_main(cli_opts, items)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
12
kittens/transfer/receive.py
Normal file
12
kittens/transfer/receive.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env python
|
||||
# vim:fileencoding=utf-8
|
||||
# License: GPLv3 Copyright: 2021, Kovid Goyal <kovid at kovidgoyal.net>
|
||||
|
||||
|
||||
from typing import List
|
||||
|
||||
from kitty.cli_stub import TransferCLIOptions
|
||||
|
||||
|
||||
def receive_main(cli_opts: TransferCLIOptions, args: List[str]) -> None:
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue