aaa_csv_challenge 0.1.0

A tool for reading and replacing words in a CSV file.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use structopt_derive::*;

#[derive(StructOpt, Debug)]
#[structopt(name = "aaa_csv_challenge", about = "Usage")]
pub struct Opt {
    #[structopt(help = "Input File")]
    pub input: String,

    #[structopt(help = "Column Name")]
    pub column_name: String,

    #[structopt(help = "Replacement Column Name")]
    pub replacement: String,

    #[structopt(help = "Output file, stdout if not present")]
    pub output: Option<String>,
}