This directory contains the CLI tools for managing the vacs-data repository. These tools are used to validate the dataset's integrity and import data from various sources.
You can download pre-built binaries for Linux, Windows, and macOS from the GitHub Releases page.
To validate the entire dataset:
vacs-data validate path/to/datasetThe tool supports importing data from other formats.
VATglasses:
vacs-data import vatglasses --input lo.json --output dataset/LOEuroScope:
vacs-data import euroscope --input LOVV.ese --output dataset/LO --prefixes LOYou can run any command with --help to display a brief help message and show all available options.
The tools are written in Rust and organized as a Cargo workspace.
tools/cli: The main CLI application.tools/validator: Core validation logic.tools/importer: Logic for importing data from external formats.tools/diagnostics: Shared logging and diagnostics.
To build and run locally:
cargo run --bin vacs-data -- --helpThe code in this tools/ directory is licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.