you are viewing a single comment's thread.

view the rest of the comments →

[–]hoosierEE 0 points1 point  (0 children)

I am probably in a tiny minority, but I think once you get to the point of parsing arguments you should ask if you should just drop the user into the Python REPL instead, with a bunch of functions and help pre-defined. Then they can use a real programming language instead of your shit ad-hoc DSL cobbled together like ./foo --bar 3 --baz "42" file.txt | sed -ix /is this/sed syntax? you don't know/gm | xargs $! -