Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 720 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 720 Bytes

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. Also does auto-generation of configuration files with default values set.

Installation

.go.yaml:

    - loc: https://github.com/mediocregopher/flagconfig.git
      type: git
      ref: v0.5.0
      path: github.com/mediocregopher/flagconfig

Standard

go get github.com/mediocregopher/flagconfig

Usage

Godocs can be found here

See the example for basic usage.