Rust is a great language to write small command line tools in. While it gives you some tools for common tasks, allows nice abstractions, it also has a type system and approach to API design that lead you to write robust code. Let me show you some techniques to make this a nice experience. Update (Jan 2018): I published a crate (Rust library) that contains a lot of what this post describes: quicli.
{{#tags}}- {{label}}
{{/tags}}