Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Root ¶
type Root struct {
LogLevel string `help:"Set log level. (trace|debug|info|warn|error|panic)" default:"info"`
Version kong.VersionFlag `help:"Show version."`
Build Build `cmd:"" help:"Build static HTML spec file."`
Serve Serve `cmd:"" help:"Serve interactive review server."`
}
type Serve ¶
type Serve struct {
Input string `arg:"" help:"Input markdown spec file path." type:"existingfile"`
Output string `short:"o" help:"Output HTML spec file path (defaults to same folder as input)."`
Port int `short:"p" default:"5500" help:"Target port for HTTP server."`
NoOpen bool `name:"no-open" help:"Do not automatically open the default web browser."`
}
Click to show internal directories.
Click to hide internal directories.