cli-rpx 1.1.1

Rpx is a tool to provide simple string replacement to GIT controled projects, it is a `sed` less powerfull but simpler.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use clap::Parser;

#[derive(Parser, Debug)]
#[command(long_about = None)]
pub struct Args {
    pub searched_term: Option<String>,

    pub substitution: Option<String>,

    #[arg(short, long)]
    pub filename: Option<String>,
}

pub fn get() -> Args {
    return Args::parse();
}