INNER CODE UNIT · Go

main

cli/cli · .github/skills/cli-exercise/tool/main.go:78

func main() {
	ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
	code := run(ctx, os.Args[1:], cliutil.Streams{
		In: os.Stdin, Out: os.Stdout, ErrOut: os.Stderr,
	})
	stop()
	os.Exit(code)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…