serve

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "serve [dir]",
	Short: "Start a local static file server",
	Long:  "Serve a directory over HTTP (or HTTPS with --tls). Defaults to the current directory on port 8080.",
	Args:  cobra.MaximumNArgs(1),
	RunE:  runServe,
}

Cmd is the top-level serve command.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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