$ go run github.com/ClavinJune/serve@latest -v
serve v0.3.2
Via Docker
$ docker run -it --rm ghcr.io/clavinjune/serve:latest -v
serve v0.3.2
Via Podman
$ podman run -it --rm ghcr.io/clavinjune/serve:latest -v
serve v0.3.2
Usage
$ serve -h
Usage of serve:
-p int
port on which the server will listen (default 1313)
-q run server quietly
-r string
root document which the server will serve (default ".")
-s serve single page application
-v print current version