INNER CODE UNIT · Go

init

google/go-containerregistry · cmd/crane/help/main.go:36

func init() {
	root.Flags().StringVarP(&dir, "dir", "d", ".", "Path to directory in which to generate docs")
}

func main() {
	if err := root.Execute(); err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…