injm 0.2.0

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
use clap::Parser;
use std::path::PathBuf;

#[derive(Parser)]
#[command(
    name = "injm",
    about = "Inject stdin content into marked regions between `injm begin` and `injm end` comments.",
    version
)]
pub struct Cli {
    #[arg(short, long)]
    pub output: PathBuf,

    #[arg(long)]
    pub dry_run: bool,
}