kong
kong copied to clipboard
String type support for `filecontent`
Currently filecontent requires a field to be []byte. I would propose that it also allows string field in which case file contents is simply converted with string(...) in Go. It allows one to signal that the flag expects a textual file as input.