News for hackers. Stuff that matters.
Re:Argdown, like Markdown for argument mapping by wingmanjd on Thursday August 08, 2024 @02:29AM (#41188670)
Whoah, that's a neat tool! I definitely need to implement this with my scripts.

Thanks!

Re:Argdown, like Markdown for argument mapping by maleldil on Thursday August 08, 2024 @07:12AM (#41190190)
It's abandoned, and tbh it's more trouble than it's worth. It's far easier and more reliable to specify the CLI and have it generate the help text than the other way around. All major languages have good CLI parsing libraries (some in the stdlib itself, like Go and Python).
Re:Argdown, like Markdown for argument mapping by kardos on Thursday August 08, 2024 @11:18AM (#41192459)
Yeah..... it seems like it would be fragile and require lots of iterating to converge on a help doc that is both "pretty" and correctly parsed by docopt
Re:Argdown, like Markdown for argument mapping by thechao on Thursday August 08, 2024 @07:44AM (#41190447)
It's a neat idea (I maintained an unofficial C port for a while); but, terrible in practice.