clif
clif copied to clipboard
Another CLI framework for Go. It works on my machine.
When providing Choose a list of keys incrementing from 1-10, 10 becomes the second option in the choice list (instead of two). I believe this is the sort order used...
I mistyped one of the arguments in the command handler, which caused a panic. My command was registered like this ``` go add := clif.NewCommand("add", "Add a new package to...
Parsing an empty argument e.g. `foo ''` causes Command.Parse to crash [here](https://github.com/ukautz/clif/blob/3253f1216fc13b3f04f93b3684a51832dcbfc8f3/command.go#L123). I've opened a PR request with a simple test and fix.