Just for fun.
!! Inspired by https://www.npmjs.com/package/simplehttpserver
go get -v -t
go build -o simplehttpserver
NAME:
./simplehttpserver - Inspired by https://www.npmjs.com/package/simplehttpserver
USAGE:
main [global options] command [command options] [arguments...]
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--directory DIRECTORY, -d DIRECTORY Specify the DIRECTORY for serve (default: ".")
--port PORT, -p PORT PORT to listen, default is 8000 (default: "8000")
--help, -h show help (default: false)