/flagconfig

A go library with similar syntax as flag for reading in parameters from either the command-line or a configuration file

Primary LanguageGoApache License 2.0Apache-2.0

flagconfig

A very simple library for specifying parameters and their default values and having them be read in from either the command-line or a configuration file.

Installation

Goatfile:

{
    "loc":"github.com/mediocregopher/flagconfig"
}

Standard

go get github.com/mediocregopher/flagconfig

Usage

See the example for basic usage.