//
pkg.gl
Category
github.com/splunk/prometheus
util
cli
package
1.8.2
Repository:
https://github.com/splunk/prometheus.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
134 SLOC
#
Functions
BasicHelp
BasicHelp returns a function that creates a basic help text for the application with its commands.
BasicTerm
BasicTerm returns a Term writing Infof and Errorf to err and Out to out.
NewApp
NewApp creates a new application with a pre-registered help command.
#
Structs
App
App represents an application that may consist of multiple commands.
Command
Command represents a single command within an application.
#
Interfaces
Term
Term handles an application's output.