flagconfig

package
v0.0.0-...-4600687 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(fs *flag.FlagSet, arguments []string, flagConfig *string) error

Parse provides support for reading flags from a configuration file in addition of the command line. The filename is passed as a pointer so its name can be parsed from the command line as a flag.

NOTE: The FlagSet must use ContinueOnError.

Types

This section is empty.

Jump to

Keyboard shortcuts

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