Treat config from environment variables
This commit is contained in:
parent
1ef63c3ad4
commit
ee819fe717
2
main.go
2
main.go
@ -180,6 +180,8 @@ type TICWriter interface {
|
||||
}
|
||||
|
||||
func main() {
|
||||
parseEnvironmentVariables()
|
||||
|
||||
var legacyMode = flag.Bool("legacy-mode", false, "Assume teleinformation in legacy mode")
|
||||
var pushFrequency = flag.Bool("push-frequency", false, "Also fetch data about the grid frequency")
|
||||
flag.Parse()
|
||||
|
Loading…
Reference in New Issue
Block a user