serve

package
v0.0.0-...-72a4bb2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: CC-BY-4.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cli.Command{
	Name:   "serve",
	Usage:  "serve a generated HTML with files proxy",
	Action: run,
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:  "addr",
			Usage: "address for serve",
			Value: ":8081",
		},
		&cli.StringFlag{
			Name:  "htdocs",
			Usage: "root of files",
			Value: "_site",
		},
		&cli.StringFlag{
			Name:  "target",
			Usage: "proxy target endpoint",
			Value: "https://vim-jp.org/slacklog/",
		},
	},
}

Command provides "serve" sub-command. It starts HTML server for slacklog for development.

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