-
Notifications
You must be signed in to change notification settings - Fork 0
/
flags.go
13 lines (11 loc) · 913 Bytes
/
flags.go
1
2
3
4
5
6
7
8
9
10
11
12
13
package main
import "flag"
var (
haVersion = flag.String("ha-version", "", "Home Assistant version")
enabledIntegsFile = flag.String("enabled-integrations", "", "Integrations to enable among the full list of integrations from Home Assistant")
disabledIntegsFile = flag.String("disabled-integrations", "", "Integrations to disable among the full list of integrations from Home Assistant (used as a sanity check for ensuring full integration coverage)")
outputReqsFile = flag.String("output-requirements", "", "Output requirements file")
outputConstraintsFile = flag.String("output-constraints", "", "Output constraints file")
generateMode = flag.Bool("mode-generate", false, "When true, generates the requirements and constraints files")
updateMode = flag.Bool("mode-update", false, "When true, updates the supplied enabled and disabled integration files")
)