commands

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Build string

Build holds the date bin was released

View Source
var RootCmd = &cobra.Command{
	Use:           "netselect [flags] <host(s)>",
	Short:         "A netselect CLI Tool",
	Long:          `netselect is an open source CLI tool to select the fastest host based on the lowest ICMP latency.`,
	SilenceErrors: true,
	SilenceUsage:  true,
	Example: heredoc.Doc(`
		$ netselect m1.example.com m2.example.com m3.example.com
		$ netselect -v
		`),
	RunE: runCommand,
}

RootCmd is the main root/parent command

View Source
var Version string

Version is the version for netselect

Functions

func Execute

func Execute() error

Execute performs netselect command execution

Types

This section is empty.

Jump to

Keyboard shortcuts

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