Quote the author: "The script library is implemented entirely in Go, and does not require any external userland programs." Sorry but that's not scripting anymore. We all like using userland programs! it is The Way.
Most programs tell you why they failed on stderr. Seems like stderr is lost when a pipe component fails. Strangely stderr and stdout are conflated in the pipe structure - there is no way to get stderr!
Orca is great fun. I was inspired to start write a derivative application - A live-coding logic simulator using the same TUI ideas. I've just got past the prototype-hackery stage and am using it to model a real piece of hardware.
I love your enthusiasm, and thanks for the code. But 1) the above only works with sorted input and 2) adding it to find that would be like adding '-v' to 'cat' which as we know is considered harmful. http://harmful.cat-v.org/cat-v/
Sorry macos people, I don't own an Apple. (Not strictly true, I have an iMac rescued from a dumpster, but it's running Ubuntu now). Apparently greadlink is available https://stackoverflow.com/a/4031502 for you.
Author here: Often I have to digest log files and lists of Azure resource names. I prefer to work with hierarchies of things, so I wrote this simple filter. Turns out to quite handy, especially when combined with awk and its friends.
These days devops workers often have no choice but to write scads of YAML for tools like GoCD, Concourse, K8s etc etc.
To be efficient we turn to tools like Helm. But I recommend everyone write their own TC YAML tool - it does not take long and it's fun. If you don't have time, you can use mine.
IMO ytt is not as good because it seems to embed its syntax in comments. You can use tools like m4 and Jinja2 but you'll be counting indentations all day. Yamp and GoYamp are 100% YAML so indentation just works. Start here: https://github.com/birchb1024/goyamp !