cmdx

package
v0.0.0-...-421db18 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatalf

func Fatalf(message string, args ...interface{})

Fatalf prints to os.Stderr and exists with code 1.

func Must

func Must(err error, message string, args ...interface{})

Must fatals with the optional message if err is not nil.

func RegisterConfigFlag

func RegisterConfigFlag(fs *pflag.FlagSet, defaultPath string)

RegisterConfigFlag registers the --config / -c flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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