Skip to content

Commit

Permalink
rename cli subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Dec 5, 2024
1 parent 2144746 commit 395acf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/warehouse_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub enum Sub {
batch_size: Option<usize>,
},
/// process and load a single archive
LoadOne {
IngestOne {
#[clap(long, short('d'))]
/// location of archive
archive_dir: PathBuf,
Expand Down Expand Up @@ -126,7 +126,7 @@ impl WarehouseCli {
neo4j_init::maybe_create_indexes(&pool).await?;
ingest_all(&map, &pool, self.clear_queue, batch_size.unwrap_or(250)).await?;
}
Sub::LoadOne {
Sub::IngestOne {
archive_dir,
batch_size,
} => {
Expand Down

0 comments on commit 395acf9

Please sign in to comment.