tokenize_cli/cli.rs
1use std::path::PathBuf;
2
3use clap::{Parser, command};
4
5#[derive(Debug, Parser)]
6#[command(version, about, long_about = None)]
7pub struct Cli {
8 pub target_dir: PathBuf,
9
10 #[arg(short, long)]
11 pub out_file: Option<PathBuf>,
12
13 #[arg(short, long)]
14 pub prompt_file: Option<PathBuf>,
15
16 #[arg(long)]
17 pub no_gitignore: bool,
18
19 #[arg(long)]
20 pub include_hidden: bool,
21
22 #[arg(long)]
23 pub follow_symlinks: bool,
24}