3 ms·
For small utilities I prefer to use docopt (https://github.com/docopt/docopt.rs https://github.com/docopt/docopt.rs). With docopt you just write down the docume
by rnestler 7y ago
For small utilities I prefer to use docopt (https://github.com/docopt/docopt.rs 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.