23 releases (9 breaking)
| new 0.11.1 | Mar 3, 2026 |
|---|---|
| 0.9.5 | Mar 1, 2026 |
#71 in Configuration
9.5MB
211K
SLoC
datasynth-cli
Command-line interface for synthetic accounting data generation.
Overview
datasynth-cli provides the datasynth-data binary for command-line usage:
- generate: Generate synthetic data from configuration
- init: Create configuration files with industry presets
- validate: Validate configuration files
- info: Display available presets and options
Installation
cargo build --release
# Binary at: target/release/datasynth-data
Commands
Generate Data
# From configuration file
datasynth-data generate --config config.yaml --output ./output
# Demo mode with defaults
datasynth-data generate --demo --output ./demo-output
# With verbose logging
datasynth-data generate --config config.yaml --output ./output -v
Create Configuration
# Industry preset with complexity level
datasynth-data init --industry manufacturing --complexity medium -o config.yaml
# Available industries:
# manufacturing, retail, financial_services, healthcare,
# technology, energy, telecom, transportation, hospitality
Validate Configuration
datasynth-data validate --config config.yaml
Show Options
datasynth-data info
Signal Handling (Unix)
Toggle pause during generation:
kill -USR1 $(pgrep datasynth-data)
Exit Codes
| Code | Description |
|---|---|
| 0 | Success |
| 1 | Configuration error |
| 2 | Generation error |
| 3 | I/O error |
License
Apache-2.0 - See LICENSE for details.
Dependencies
~61–82MB
~1.5M SLoC