flaeg
flaeg copied to clipboard
golang CLI with magic
I've stumbled unto the situation where I am using sub commands as a primary mechanism to interact with an application. This means that the `rootCmd` performs no particular action at...
There seems to be a problem with parsing both root- and sub-commands together. I've put together this example which illustrates the in-ability to parse sub commands and their flags when...
The doc says that you can use anonymous sub-structures, and the example implies that when the flag name is generated, the sub-structure is "squashed" (see --db.ip in the example). I...
Flaeg panics if types in custom parsers don't match each other In `func (s *SliceStrings) SetValue(val interface{})` ``` panic: interface conversion: interface is Namespaces, not []string ``` Example : ```...