flagconfyg

package
Version: v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: BSD-3-Clause Imports: 6 Imported by: 1

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(path string)

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

func Dump

func Dump(fs *flag.FlagSet) []byte

Dump turns a flagset's values into a configuration file.

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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto