Beispiel #1
0
func main() {
	sv := root.PersistentFlags().StringVar

	sv(&opts.Image, "image", "", "image name")
	sv(&opts.Project, "project", "coreos-gce-testing", "project")
	sv(&opts.Zone, "zone", "us-central1-a", "zone")
	sv(&opts.MachineType, "machinetype", "n1-standard-1", "machine type")
	sv(&opts.DiskType, "disktype", "pd-ssd", "disk type")
	sv(&opts.BaseName, "basename", "kola", "instance name prefix")
	sv(&opts.Network, "network", "default", "network name")

	cli.Execute(root)
}
Beispiel #2
0
func main() {
	root.AddCommand(cmdRun)
	cli.Execute(root)
}
Beispiel #3
0
func main() {
	cli.Execute(root)
}