datasynth-cli-5.34.0 is not a library.
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 (supports
--from-descriptionnatural-language mode viallmfeature) - validate: Validate configuration files
- info: Display available presets and options
- scenario: List / validate / export / generate counterfactual scenarios
- fingerprint: Extract / validate / synthesize via the privacy-preserving fingerprint format
- templates: Export starter template packs, validate, or enrich (v3.5.0+) name pools via mock or live LLM (OpenAI-compatible HTTP; OpenRouter-friendly defaults)
- audit: Audit FSM operations (blueprint diff, validate)
Installation
# Binary at: target/release/datasynth-data
Commands
Generate Data
# From configuration file
# Demo mode with defaults
# With verbose logging
Create Configuration
# Industry preset with complexity level
# Available industries:
# manufacturing, retail, financial_services, healthcare,
# technology, energy, telecom, transportation, hospitality
Validate Configuration
Show Options
Template Enrichment (v3.5.0+, llm feature)
Offline-deterministic enrichment of vendor / customer / material name pools.
Runs outside the generate pipeline — the enriched YAML is then consumed at
generate time via --templates <path>.
# Mock backend: deterministic, seed-driven, no network.
# Live HTTP backend (default targets OpenRouter so any vendor works with one key).
OPENROUTER_API_KEY=sk-or-... \
# Then generate with the enriched templates:
--category accepts vendor_name, customer_name, or material_desc.
--backend http requires building with --features llm.
Scenarios
# Counterfactual scenario generation (baseline + intervention pairs)
Signal Handling (Unix)
Toggle pause during generation:
Exit Codes
| Code | Description |
|---|---|
| 0 | Success |
| 1 | Configuration error |
| 2 | Generation error |
| 3 | I/O error |
License
Apache-2.0 - See LICENSE for details.