github.com/lineaje-labs/syft@v0.98.1-0.20231227153149-9e393f60ff1b/cmd/syft/cli/options/update_check.go (about) 1 package options 2 3 type UpdateCheck struct { 4 CheckForAppUpdate bool `yaml:"check-for-app-update" json:"check-for-app-update" mapstructure:"check-for-app-update"` // whether to check for an application update on start up or not 5 } 6 7 func DefaultUpdateCheck() UpdateCheck { 8 return UpdateCheck{ 9 CheckForAppUpdate: true, 10 } 11 }