config

package
v0.0.0-...-88bf631 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Values

type Values struct {
	Files []string `yaml:"files"`
	Quiet bool     `yaml:"quiet"`
	Debug bool     `yaml:"debug"`
}

Values represents all configuration options that can be set in enver.conf

func FromFile

func FromFile(c *cli.Context) (Values, error)

FromFile loads the configurations settings into a Values struct, from a textfile.

func (Values) FilesToParse

func (config Values) FilesToParse(c *cli.Context) ([]string, error)

FilesToParse returns the list of files that we need to parse for variable replacement.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL