Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &subcommands.Command{ UsageLine: `validate-config /path/to/stable_versions.cfg`, ShortDesc: "check that a stable_versions.cfg file is well-formed", LongDesc: `check that a stable_versions.cfg file is well-formed. This command exists solely to validate a stable_versions.cfg file. Its intended consumer is a submit hook that runs in the infra/config repo. `, CommandRun: func() subcommands.CommandRun { c := &command{} c.authFlags.Register(&c.Flags, site.DefaultAuthOptions) c.Flags.BoolVar(&c.alwaysExitZero, "always-exit-zero", false, "exit successfully regardless of what errors occur.") c.Flags.BoolVar(&c.remoteFile, "remote-file", false, "get file from Gitiles instead of locally.") return c }, }
Cmd is the top-level runnable for the validate-config subcommand of stable_version2
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.