Updated
Reference for the selfdoc serve command — usage, flags, arguments, and examples for the serve subcommand of the selfdoc CLI.
#selfdoc serve
Serve the documentation site locally with live reload
Effect: mutating
#Flags
| Name | Short | Type | Default | Env | Description |
|---|---|---|---|---|---|
--port | -p | int | 8000 | HTTP port number to serve on (default: 8000, e.g., 3000) | |
--drafts | bool | Rebuild the site with draft posts included before starting the local server |