INNER CODE UNIT · Go

main

vmfunc/sif · cmd/sif/main.go:33

func main() {
	version = ver.Resolve(version)
	sif.Version = version

	if len(os.Args) > 1 {
		switch os.Args[1] {
		case "patchnote", "patchnotes", "-pn", "--patchnotes":
			patchnotes.Print("")
			return
		case "version", "-version", "--version":
			fmt.Printf("sif %s\n", version)
			return
		}
	}

	settings := config.Parse()

	app, err := sif.New(settings)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…