injm 0.5.1

A CLI tool that injects content into marked regions in source files.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod checker;
mod cli;
mod cmd;
mod injector;
mod output;
mod parser;
mod types;

use clap::Parser;

fn main() -> anyhow::Result<()> {
    let cli = cli::Cli::parse();

    match cli.command {
        cli::Commands::Inject(args) => cmd::inject::run(args),
        cli::Commands::List(args) => cmd::list::run(args),
    }
}