aboutsummaryrefslogtreecommitdiff
path: root/config/config.go
blob: 262a5d2eed6a68e75c253c10937eb5615e6777d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package config

// Config object
type Config struct {
	verbose   bool
	quiet     bool
	stateFile string
	workDir   string
}

// Verbose gets the verbose field of the configuration
func (config *Config) Verbose() bool { return config.verbose }

// Quiet gets the quiet field of the configuration
func (config *Config) Quiet() bool { return config.quiet }

// StateFile gets the stateFile field of the configuration
func (config *Config) StateFile() string { return config.stateFile }

// WorkDir gets the workDir field of the configuration
func (config *Config) WorkDir() string { return config.workDir }