module
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Dec 27, 2023
License: MIT
Opens a new window with license information.
README
¶
serve
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
¶
cmd
|
|
|
|
internal
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.