INNER CODE UNIT · Go
init
kubernetes-sigs/kueue · cmd/importer/main.go:93
func init() {
rootCmd.AddGroup(&cobra.Group{
ID: "pod",
Title: "Pods import",
})
rootCmd.PersistentFlags().CountP(VerbosityFlag, VerboseFlagShort, "verbosity (specify multiple times to increase the log level)")
importCmd := &cobra.Command{
Use: "import",
GroupID: "pod",
Short: "Checks the prerequisites and import pods.",
RunE: importCmd,
}
setFlags(importCmd)
rootCmd.AddCommand(importCmd)
}
func main() {