Re:12 Factor CLI Apps
by vram22 on Wednesday October 10, 2018 @11:52AM
(#18186062)
Yes. IOW, GUI's are not as easily scriptable as CLI programs, to compose operations from combinations of other operations, even though some tools to do stuff like that do exist, e.g. AutoHotKey and others like it.
A classic CLI command composition (a.k.a. pipeline) example:
A classic CLI command composition (a.k.a. pipeline) example:
More shell, less egg:
http://www.leancrew.com/all-this/2011/12/more-shell-less-egg...
After reading that post, I wrote about it here:
https://jugad2.blogspot.com/2012/07/the-bentley-knuth-proble...
with a couple of solutions in Unix shell and Python.
Related:
Why you should learn just a little Awk (2010) (gregable.com)
https://news.ycombinator.com/item?id=17322412
A comment by me there:
https://news.ycombinator.com/item?id=17324572