$ go run github.com/ClavinJune/serve@latest -v
serve v1.0.0
Via Docker
$ docker run -it --rm ghcr.io/clavinjune/serve:latest -v
serve v1.0.0
Via Podman
$ podman run -it --rm ghcr.io/clavinjune/serve:latest -v
serve v1.0.0
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