Skip to main content

One post tagged with "clap"

View All Tags

Build A Simple Cli App with Rust

· One min read
forfd8960
Author

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