Documentation
¶
Overview ¶
Website dev server (-dev) and prod build/upload tool (-build and -upload)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Name: "website", Usage: "manage website tasks", Subcommands: []*cli.Command{ { Name: "dev", Usage: "run dev server", Flags: []cli.Flag{ &cli.StringFlag{ Name: "listen-addr", Aliases: []string{"l"}, Usage: "address to listen on for the dev server", Value: ":8095", }, }, Action: runDevServer, }, { Name: "build", Usage: "build prod output", Flags: []cli.Flag{ &cli.BoolFlag{ Name: "upload", Aliases: []string{"u"}, Usage: "upload prod output to S3", Value: false, }, &cli.StringFlag{ Name: "out", Aliases: []string{"o"}, Usage: "where to save output files", Value: "./build/website-html", }, }, Action: buildWebsite, }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.