Add reexport command
This commit is contained in:
parent
266f001d46
commit
e74eee89e6
3 changed files with 25 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ use clap::Parser;
|
|||
enum Command {
|
||||
/// Read sift data on stdin and output brood data.
|
||||
Ingest,
|
||||
/// Read and reexport brood data.
|
||||
Reexport { to: PathBuf },
|
||||
}
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
|
|
@ -24,5 +26,6 @@ fn main() -> io::Result<()> {
|
|||
let args = Args::parse();
|
||||
match args.command {
|
||||
Command::Ingest => commands::ingest(&args.datafile),
|
||||
Command::Reexport { to } => commands::reexport(&args.datafile, &to),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue