Stub for receive in the transfer kitten
This commit is contained in:
parent
ed95f7dfa0
commit
14d36e3727
@ -86,7 +86,8 @@ def main(args: List[str]) -> None:
|
|||||||
raise SystemExit('Usage: kitty +kitten transfer file_or_directory ...')
|
raise SystemExit('Usage: kitty +kitten transfer file_or_directory ...')
|
||||||
if cli_opts.direction == 'send':
|
if cli_opts.direction == 'send':
|
||||||
send_main(cli_opts, items)
|
send_main(cli_opts, items)
|
||||||
return
|
else:
|
||||||
|
receive_main(cli_opts, items)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
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…
x
Reference in New Issue
Block a user