Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

DomainCommands
Wheelscount, export, summary, activate, deactivate, delete, merge, check-pn, batch-update, import
Tyrescount, export, summary, search
Accessoriescount, export, summary, search
Orderslist, search, summary, export
Stocklist, search
Customerssearch, orders

All commands require the -r <region> flag. See Global Options for details.