flag

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package flag facilitates use of the standard library package flag with package config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Visit

func Visit(flagSet *flag.FlagSet, section config.TypedSection, names ...string)

Visit gets the flags present in a command line as a typed configuration section.

func VisitAll

func VisitAll(flagSet *flag.FlagSet, section config.TypedSection, names ...string)

VisitAll gets all flags as a typed configuration section.

Types

This section is empty.

Jump to

Keyboard shortcuts

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