This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* efood-report.js — enhanced insights | |
* Node 16+ CLI — reads Efood "orders" JSON (single response object or array), | |
* normalizes, aggregates, prints summary + insights. | |
* | |
* Flags: | |
* --csv <file> Export normalized orders to CSV | |
* --items-csv <file> Export aggregated items to CSV | |
* --list Print per-order table | |
*/ |