topcat 0.1.0

A tool for concatenating files in topological order
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::path::PathBuf;

pub struct Config<'a> {
    pub input_dirs: Vec<PathBuf>,
    pub include_globs: Option<&'a [String]>,
    pub exclude_globs: Option<&'a [String]>,
    pub output: PathBuf,
    pub comment_str: String,
    pub file_separator_str: String,
    pub file_end_str: String,
    pub verbose: bool,
    pub dry_run: bool,
}