cli

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AppVersion version number
	AppVersion          = "0.5.8"
	LatestGithubVersion = AppVersion

	// AppName app code name
	AppName = "HORNET-legacy"
)
View Source
var (
	PLUGIN = node.NewPlugin("CLI", node.Enabled, configure, run)
)

Functions

func AddPluginStatus

func AddPluginStatus(name string, status int)

func HideConfigFlags added in v0.4.2

func HideConfigFlags()

HideConfigFlags hides all non essential flags from the help/usage text.

func ParseConfig added in v0.3.0

func ParseConfig()

func ParseFlags added in v0.5.3

func ParseFlags()

ParseFlags defines and parses the command-line flags from os.Args[1:].

func PrintConfig added in v0.4.0

func PrintConfig()

func PrintVersion added in v0.2.7

func PrintVersion()

PrintVersion prints out the HORNET version

Types

This section is empty.

Jump to

Keyboard shortcuts

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