validateconfig

package
v0.0.0-...-e560ebb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 14 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL