Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
In Praise of Rust's Structopt for Command Line Parsing (ocallahan.org)
3 points by ducaale on Aug 10, 2019 | hide | past | favorite | 1 comment


For small utilities I prefer to use docopt (https://github.com/docopt/docopt.rs). With docopt you just write down the documentation how you imagine the tool to be used and the docopt magic generates the command line parsing for you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: