serve

module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2023 License: MIT

README

serve

Test

Run serve to start a webserver hosting the content of a directory.

Install

go install github.com/Frank-Mayer/serve/cmd/serve@latest

Flags

  • dir string

    Path to the directory to serve (default ".")

  • md

    Compile Markdown files to HTML

  • port int

    Port to listen on (default 8080)

  • verbose

    Verbose output

  • version

    Print version

Directories

Path Synopsis
cmd
internal
md

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL