INNER CODE UNIT · Go
main
darksworm/argonaut · cmd/app/main.go:138
func main() {
// Set up logging to file
setupLogging()
// Flags: allow overriding ArgoCD config path and TLS trust settings
var (
cfgPathFlag string
caCertFlag string
caPathFlag string
clientCertFlag string
clientKeyFlag string
themeFlag string
showVersion bool
showHelp bool
)
fs := flag.NewFlagSet(os.Args[0], flag.ContinueOnError)
fs.SetOutput(io.Discard)
fs.BoolVar(&showVersion, "version", false, "Show version information and exit")