feat(tvix/tools/crunch-v2): add CLI args

Use clap derive to make the input and output files configurable, as well
as the chunk size parameters.

Change-Id: I02b29126f3bd2c13ba2c6e7e0aa4ff048ff803ed
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10691
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
This commit is contained in:
Florian Klink 2024-01-25 14:47:07 +02:00 committed by clbot
parent 4f22203a3a
commit b38be028d9
6 changed files with 885 additions and 34 deletions

View file

@ -33,6 +33,7 @@ zstd = "0.13.0"
prost = "0.12.2"
polars = { version = "0.35.4", default-features = false, features = ["parquet", "lazy", "sql", "dtype-struct"] }
indicatif = "0.17.7"
clap = { version = "4.4.18", features = ["derive"] }
[build-dependencies]
prost-build = "0.12.2"