robots/issue-creator/creator/creator.go
func (c *IssueCreator) RegisterFlags() {
	flag.StringVar(&c.ownerPath, "test-owners-csv", "", "file containing a CSV-exported test-owners spreadsheet")
	flag.IntVar(&c.MaxSIGCount, "maxSIGs", 3, "The maximum number of SIG labels to attach to an issue.")
	flag.IntVar(&c.MaxAssignees, "maxAssignees", 3, "The maximum number of users to assign to an issue.")

	flag.StringVar(&c.tokenFile, "token-file", "", "The file containing the github authentication token to use.")
	flag.StringVar(&c.project, "project", "", "The name of the github repo to create issues in.")
	flag.StringVar(&c.org, "org", "", "The name of the organization that owns the repo to create issues in.")
	flag.BoolVar(&c.dryRun, "dry-run", true, "True iff only 'read' operations should be made on github.")

	for _, src := range sources {
		src.RegisterFlags()
	}
}
func (c *IssueCreator) RegisterFlags() {
	flag.StringVar(&c.ownerPath, "test-owners-csv", "", "file containing a CSV-exported test-owners spreadsheet")
	flag.IntVar(&c.MaxSIGCount, "maxSIGs", 3, "The maximum number of SIG labels to attach to an issue.")
	flag.IntVar(&c.MaxAssignees, "maxAssignees", 3, "The maximum number of users to assign to an issue.")

	flag.StringVar(&c.tokenFile, "token-file", "", "The file containing the github authentication token to use.")
	flag.StringVar(&c.project, "project", "", "The name of the github repo to create issues in.")
	flag.StringVar(&c.org, "org", "", "The name of the organization that owns the repo to create issues in.")
	flag.BoolVar(&c.dryRun, "dry-run", true, "True iff only 'read' operations should be made on github.")

	for _, src := range sources {
		src.RegisterFlags()
	}
}
// RegisterFlags registers options for this munger; returns any that require a restart when changed.