feat(cli): add command-line interface

This commit is contained in:
dualfroz committed 2026-08-27 20:23:00 +02:00
1 parent 7616b89115
commit 7a2a2e9881
3 files changed
+295

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
Item,Qty,Unit,LineTotal
Widget,3,4.50,=B2*C2
Gadget,5,2.00,=B3*C3
Gizmo,2,9.99,=B4*C4
Subtotal,,,=SUM(D2:D4)
Tax 23pct,,,"=ROUND(D5*0.23,2)"
Total,,,=D5+D6
Items,,,"=COUNT(B2:B4)"
Avg line,,,"=ROUND(AVERAGE(D2:D4),2)"
Note,,,"=IF(D7>40,""large order"",""small order"")"
1 Item Qty Unit LineTotal
2 Widget 3 4.50 =B2*C2
3 Gadget 5 2.00 =B3*C3
4 Gizmo 2 9.99 =B4*C4
5 Subtotal =SUM(D2:D4)
6 Tax 23pct =ROUND(D5*0.23,2)
7 Total =D5+D6
8 Items =COUNT(B2:B4)
9 Avg line =ROUND(AVERAGE(D2:D4),2)
10 Note =IF(D7>40,"large order","small order")