libera/#commonlisp - IRC Chatlog
Search
19:49:58
hexology
is there an equally agreed-upon library for building unix-style command line applications?
19:57:58
Xach
hexology: to date i usually roll my own, which i find a little faster than understanding a library one. i mostly just pop things off the command line list and check against known strings like "--help" and such. i know a library can make it easier if you do it a lot or want to be more declarative.
20:00:56
AnimalClatter
hexology: Have you seen this recent discussion? https://www.darkchestnut.com/2021/list-command-line-argument-parsers/
20:07:00
hexology
Xach fair enough. command line parsing is the kind of thing that i don't want to have to think about much, for me it's easier to learn a library than to redo it from scratch, because i want my command line tools to be powerful
20:07:25
hexology
i want power! auto-generated --help and --version, "-" meaning "read from stdin", etc.
20:54:38
jasom
I've used both adopt and clon. Both are Just Fine, but I found the learning curve to be easier with adopt.