120 points · by stareatgoats · 3y ago · 37 comments
[1]: https://hackage.haskell.org/package/optparse-applicative
https://github.com/mkdoc/mkcli
I think docopt is a better choice as it has more traction but this experiment showed me a pure markdown implementation is feasible.
> I think docopt is a better choice as it has more traction
Is docopt still being maintained/developed? As another comment indirectly mentions: the original python repo seems abandoned. The other language ports still have more recent updates though.
And then uses those definitions for autocomplete, validation, etc.
Very cool way to present arguments.
I'm thinking of taking that, as well as argdown, and building some easy to use keywords in scroll https://scroll.pub/
* eg https://www.speechanddebate.org/wp-content/uploads/Big-Quest...
I have been eyeballing https://www.kialo.com/ but I’m very hesitant to use it for company decisions.
In the meantime Argdown perhaps is the closest thing available.