See how pkg https://go.dev/github.com/peterbourgon/ff/v3/ffcli does it
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/ef7ed237-1d8f-489c-9862-ed2f01e2cd3e%40googlegroups.com.