There are several Go libraries for writing CLIs to accept parameters and optional arguments, but they generally build interfaces that immediately drop you back to the command line after execution. While this works well for most applications, sometimes it’s beneficial to create more interactive experiences.
We started a small project called go-menu to fit this case and it provides a simple framework to create a one-dimensional menu system in just a few lines of code. Check out the GoDoc here.
Update 3/13/15
Screenshot added at the request of several Redditors:
Leave a Reply