Re:Docli – A declarative language for command-line interface...
by hwj on Wednesday March 20, 2019 @09:45AM
(#19442067)
This is a Go library that parses a usage string into an AST.
[ Parent
| on HN ]
Re:Docli – A declarative language for command-line interface...
by umvi on Wednesday March 20, 2019 @10:31AM
(#19442588)
"Docli" makes it sound like a generic documentation generator for CLIs.
IMO name should make it clear it is Go-only. Something like "GoastArgs: a Go library that parses a usage string/CLI args into an AST"
Re:Docli – A declarative language for command-line interface...
by FreeFull on Wednesday March 20, 2019 @01:32PM
(#19444572)
I am not a Go user so I can't speak about Go specifically, but I feel like including the name of the language in the library name is in general an anti-pattern, since generally when you look for a library to do something in language A, you aren't going to get results using language B anyway.
Re:Docli – A declarative language for command-line interface...
by celicoo on Wednesday March 20, 2019 @06:00PM
(#19447431)
Thanks for the feedback umvi. I will be working on making it clear that Docli is a Go library.
Re:Docli – A declarative language for command-line interface...
by dromedary512 on Wednesday March 20, 2019 @06:54PM
(#19447818)
But, for the love of God, please don't put the word "Go" in the name :D
Re:Docli – A declarative language for command-line interface...
by celicoo on Wednesday March 20, 2019 @05:59PM
(#19447425)
Exactly! Thank you for clarifying that. The documentation still needs some improvements, and this is one of them.
Re:Docli – A declarative language for command-line interface...
by AbraKdabra on Wednesday March 20, 2019 @10:21AM
(#19442458)
Thanks, it's very disappointing when a comment describes the product better than the official webpage.
Re:Docli – A declarative language for command-line interface...
by AnanasAttack on Wednesday March 20, 2019 @11:19AM
(#19443048)
Not that unusual really. Whenever you hear about new stuff, chances are it's better to look it up on Wikipedia first.