Build A Simple Cli App with Rust
· One min read
use clap to build a cli App
So, I want to build a Cli App that convert a csv file to json, yaml, toml formated file.
And for Rust, there is crate clap
was used to build cli app.
And the final command to use the cli app, is something like this:
./target/debug/rcli csv -i test.csv