Documentation
¶
Overview ¶
Package config holds the CLI configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is the whole command line: the library's knobs, plus this command's.
func NewWithFlags ¶
NewWithFlags declares a Config with every flag on fs.
func (*Config) ConfigPath ¶
func (*Config) PrepareScan ¶
PrepareScan converts a CLI Config into proper scanner.Options that the scanner understands. At this point, no downstream consumer needs to know where a value came from (file, env, flag...).
func (*Config) WantsProfile ¶
func (*Config) WantsVersion ¶
Click to show internal directories.
Click to hide internal directories.