File indexing completed on 2024-12-22 04:50:58

0001 #!/bin/bash
0002 if [[ $1 = "ls" ]]; then
0003     #Simulate: boobank ls -q -f csv -v -s id,balance
0004   echo "id;label;balance"
0005     echo "LEO-987654321@ldlc;;"  
0006 else
0007     #Simulate: boobank -q -f csv history "47896@creditcooperatif" -s rdate,type,raw,label,amount --condition "rdate>%4" -n 99999
0008     echo "rdate;date;type;raw;label;amount"
0009     echo "2018-07-30 08:39:00;2018-07-30 08:39:00;TransactionType.WITHDRAWAL;CARTE __CARD_ID__ RETRAIT DAB __BANK_ID__ 30/07 08H39 __ATM_ID__;__ATM_ID__;-20.00"
0010 
0011 fi