- Go:
- Gin (http server) ๐
- Cobra (CLI command framework) ๐
- External :
- Ngrok (secure tunnels) ๐
-
๐ฅ Client
- Send Files to another computer using command line
-
๐ป Server
- Listen for files from other computers across the internet using Ngrok secure tunnels
-
๐ On every subcommand there is -h flag to show description of all commands
-
Set authtoken if u haven't use ngrok
$ ngrok authtoken <authtoken>
(run it on project folder) -
Run CLI from Go
$ go run . <Commands>
- Run CLI from file
$ FileTransfer <Commands>
(If u did the build)
- Run CLI from file
$ ./FileTransfer <Commands>
(If u did the build)
$ go build
(on project directory)
To see all commands run :
From Go $ go run .
$ FileTransfer
$ ./FileTransfer