internal

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBuildCmd

func CreateBuildCmd() cobra.Command

CreateBuildCmd creates the build subcommand.

func CreateRootCmd

func CreateRootCmd() cobra.Command

CreateRootCmd creates the root command.

func CreateServeCmd added in v0.2.0

func CreateServeCmd() cobra.Command

CreateServeCmd creates the serve subcommand. The command will run a webserver which renders the supplied Plant UML files as a static HTML page. The command uses a file watcher to keep track of any modifications to the supplied files. The HTML page execute HEAD requests to check for new updates using long-polling and the If-Modified-Since header. When modifications are found, the server will answer the HEAD request with a 200 OK.

func CreateVersionCmd

func CreateVersionCmd(version string) cobra.Command

CreateVersionCmd creates the version subcommand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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