conf

package
v0.0.0-...-d7ffed4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	App     = kingpin.New("NRCLI", fmt.Sprintf("New Relic shell : %v", BVersion))
	Debug   = App.Flag("debug", "Enable debug mode.").Default("false").Bool()
	Color   = App.Flag("color", "--color : Enable colors on terminal --no-color : Disable colors .").Default("true").Bool()
	VBanner = App.Flag("banner", "Display [ BUND ] banner .").Default("false").Bool()
	Args    = App.Flag("args", "String of arguments passed to a script").String()

	Version = App.Command("version", "Display information about [ NRCLI ]")
	VTable  = Version.Flag("table", "Display [ NRCLI ] inner information .").Default("true").Bool()

	Run     = App.Command("run", "send JSON data to NR endpoint")
	Scripts = Run.Arg("Scripts", "[ NRCLI ] JSON code to load").Strings()
)
View Source
var Argv [][]string
View Source
var BVersion = fmt.Sprintf("%v.%v(rel %v)", Major, Min, Rel)
View Source
var EVersion = fmt.Sprintf("%v.%v", Major, Min)
View Source
var Major = 1
View Source
var Min = 0
View Source
var Rel = 0

Functions

func FileList

func FileList(s kingpin.Settings) (target *[]string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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