cmd

package
v1.0.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// exporter & indexer
	Config          = "config"
	LogLevel        = "log-level"
	LogColorDisable = "log-color-disable"
	Port            = "port"

	// dev
	PackageFilter = "package-filter"
)

Variables

View Source
var (
	AppName = ""
	Version = ""
	Commit  = ""
)
View Source
var VersionCmd = &cobra.Command{
	Use:   "version",
	Short: "Show information about the current binary build",
	Args:  cobra.NoArgs,
	Run:   printBuildInfo,
}

Functions

func ConfigFlag

func ConfigFlag() *pflag.FlagSet

func FilterFlag

func FilterFlag() *pflag.FlagSet

func LogFlags

func LogFlags() *pflag.FlagSet

func PortFlag

func PortFlag() *pflag.FlagSet

func StartCmd

func StartCmd() *cobra.Command

func StartExporterCmd

func StartExporterCmd() *cobra.Command

func StartIndexerCmd

func StartIndexerCmd() *cobra.Command

func ValidateCmd

func ValidateCmd() *cobra.Command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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