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