config

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: May 26, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EnvFileName       string
	EnvRecurseLevels  int
	ShowEnv           bool
	Style             string
	NoColor           bool
	ShowOutput        bool
	ShowOutputOnError bool
	Silent            bool
	NotFoundMsg       string
	Desc              string
	Command           string
	Host              string
	Port              int
	URL               string
	Timeout           time.Duration
}

func New

func New(c *cli.Context) *Config

func (Config) Print

func (c Config) Print()

func (Config) ShowAnyOutput

func (c Config) ShowAnyOutput() bool

Jump to

Keyboard shortcuts

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