Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "serve", Usage: "Serve the built site from the pub directory", Action: serveAction, Flags: append([]cli.Flag{ &cli.StringFlag{ Name: "pub", Aliases: []string{"p"}, Usage: "Path to the pub directory to serve", Required: true, Destination: &serveOpts.pubDir, }, &cli.StringFlag{ Name: "addr", Aliases: []string{"a"}, Usage: "Address to listen on", Value: "localhost:1313", Destination: &serveOpts.addr, }, }, logging.Flags...), }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.