Efision CLI
High-performance Rust CLI for managing an automotive parts ERP system — wheels, tyres, accessories across multiple regions.
Efision connects to SQL Server 2025 databases and provides 29 commands across 6 business domains: wheels, tyres, accessories, orders, warehouse stock, and customers.
Key Features
- Multi-region support — AU, UK, US, DEMO databases with a single binary
- Comprehensive wheel management — count, export, import, merge, batch-update, part number validation
- Fast — count queries <100ms, full export of 3,878 products <1s
- Small footprint — 1.9 MB binary, ~10 MB memory, <100ms startup
- 5-layer clean architecture — business logic is database-agnostic
Quick Start
# Build
cargo build --release
# Count wheels in AU region
./efision -r au wheels count
# Export all wheels to CSV
./efision -r au wheels export -o wheels.csv
Command Overview
| Domain | Commands |
|---|---|
| Wheels | count, export, summary, activate, deactivate, delete, merge, check-pn, batch-update, import |
| Tyres | count, export, summary, search |
| Accessories | count, export, summary, search |
| Orders | list, search, summary, export |
| Stock | list, search |
| Customers | search, orders |
All commands require the -r <region> flag. See Global Options for details.