Hacker News new | ask | show | jobs
by dastx 2341 days ago
I suppose it depends on the use case. Personally I've always thought argparse is good enough, and have never hit a roadblock "because I'm using argparse" so to say. Having said that, I do like the pattern click is going for. If it argparse allowed the same pattern, in my opinion that would be cool, and it would probably be my first choice.
1 comments

argparse should not be the first thing to reach for, imo, when good old sys.argv can do the job.
At that point I wouldn't leave bash. I feel like argparse allows for better documentation, error handling and input validation.