appflags

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppFlags

type AppFlags struct {
	BaseDir        string `yaml:"baseDir" flags:"basedir,The root directory storing all kmgm data,"`
	Profile        string `yaml:"profile" flags:"profile,Name of the profile to operate against"`
	Config         string `flags:"config,Read the specified YAML config file instead of interactive prompt.,,path"`
	LogJson        bool   `flags:"log-json,Format logs in json"`
	NoGeoIp        bool   `flags:"no-geo-ip,Disable querying ip-api.com for geolocation data"`
	LogLocation    bool   `flags:"log-location,Annotate logs with code location where the log was output"`
	NoDefault      bool   `yaml:"noDefault" flags:"no-default,Disable populating default values on non-interactive mode,"`
	Verbose        bool   `flags:"verbose,Enable verbose output"`
	NonInteractive bool   `flags:"non-interactive,Use non-interactive frontend, which auto proceeds with default answers."`
}

Jump to

Keyboard shortcuts

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