Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "receive", Short: "Receive file(s), or folder (see options with pdh receive -h)", Run: func(cmd *cobra.Command, args []string) { if len(args) < 1 { choice := tools.GetInput("Enter Share Code: ") if choice != "" { opt.ShareCode = choice } } else { opt.ShareCode = args[0] } if tools.IsEmpty(opt.ShareCode) { fmt.Println("no share code") return } rec := receiver.NewReceiver(opt) rec.Receive() }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.