cli

package
v0.0.0-...-495f4b4 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FlagConfigPath = flagInfoString{
		Name:        "config-file",
		Shorthand:   "c",
		Description: "path to configuration file",
	}

	FlagLogLevel = flagInfoString{
		Name:        "log-level",
		Shorthand:   "l",
		Description: "logging level",
		Default:     "info",
	}

	FlagBackground = flagInfoBool{
		Name:        "daemon",
		Shorthand:   "",
		Description: "run process in background",
		Default:     false,
	}
	FlagDebug = flagInfoBool{
		Name:        "debug",
		Shorthand:   "d",
		Description: "switch debug mode",
		Default:     false,
	}
)

Functions

func Run

func Run(args []string) error

func Start

func Start()

Types

This section is empty.

Jump to

Keyboard shortcuts

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