flagconfyg

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: CC0-1.0, BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package flagconfyg is a hack around confyg. This will blindly convert config verbs to flag values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdParse

func CmdParse(ctx context.Context, path string)

CmdParse is a quick wrapper for command usage. It explodes on errors.

func Parse

func Parse(name string, data []byte, fs *flag.FlagSet) error

Parse parses the config file in the given file by name, bytes data and into the given flagset.

Types

This section is empty.

Jump to

Keyboard shortcuts

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