Simple cli tool for serving files in a directory. A silly excuse for me to write something tiny in go.
.hgignore | ||
main.go | ||
README.md |
Simple cli tool for serving files in a directory. A silly excuse for me to write something tiny in go.
Installation:
go get bitbucket.org/smcquay/servedir
use:
servedir # default port
# specify port
servedir -port 6666
# allow serving hidden files/dirs
servedir -hidden
# or see -help