Loophole CLI is one of the available loophole clients.
Head over to the releases page and get binary which is suitable for you.
First create an account by executing
$ ./loophole account login
and following the instructions there, then execute
# Forward application running on local port 3000 to the world
$ ./loophole http 3000
# Forward local directory to the world
$ ./loophole path ./my-directory
# Forward local directory to the world using WebDAV
$ ./loophole webdav ./my-directory
Congrats, you can now share the presented link to the world.
For more information head over to docs.
$ go test -v ./...
# go run cli.go
# go build -o loophole cli.go