Hacker News new | ask | show | jobs
by tmbo 2056 days ago
> Can this parse arguments directly, produce help, etc. Like Click[0]? In other words, can this be "scripted".

This isn't possible just yet. I think it is a great idea to combine CLI argument parsing with queries if the arguments are missing, sounds like a thing you'd like to do instead of aborting a script because of a missing CLI argument.

1 comments

Yes, Click supports defaults, choices, in options with help strings.