Skip to content

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

License

Notifications You must be signed in to change notification settings

mediocregopher/flagconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages