cli

package
v0.0.0-...-c80c131 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultParser string = "text"
	ExecParser    string = "exec"
	PortParser    string = "port"
	TextParser    string = "text"
)

Variables

View Source
var (
	Usage = func() {
		w := flag.CommandLine.Output()
		fmt.Fprintf(w, "\nUsage: %s [flags] [commands] [args]\n", os.Args[0])
		fmt.Fprintf(w, "\nFlags:\n\n")
		flag.PrintDefaults()
		fmt.Fprintf(w, "\nCommands:\n%s", helpText)
	}
)

Functions

func Parse

func Parse() *types.Flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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