More work on transfer kitten

This commit is contained in:
Kovid Goyal
2023-04-27 16:34:52 +05:30
parent 7cec9016d3
commit 870522360e
4 changed files with 108 additions and 3 deletions

18
kittens/transfer/send.go Normal file
View File

@@ -0,0 +1,18 @@
// License: GPLv3 Copyright: 2023, Kovid Goyal, <kovid at kovidgoyal.net>
package transfer
import (
"fmt"
)
var _ = fmt.Print
func send_main(opts *Options, args []string) (err error) {
fmt.Println("Scanning files…")
files = files_for_send(opts, args)
fmt.Printf("Found %d files and directories, requesting transfer permission…", len(files))
fmt.Println()
return
}