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 "1111111A333@bp;COMPTE 1;"
0006   echo "1111112B333@bp;COMPTE 2;"
0007   echo "4444C55555D@bp;LIVRET 1;"
0008   echo "6666777777E@bp;LIVRET 2;"
0009   echo "6666888999F@bp;EPARGNE 1;"
0010   echo "6666888000G@bp;EPARGNE 2;"
0011   echo "000000000@bp;EPARGNE 3;"
0012 else
0013     #Simulate: boobank -q -f csv history "47896@creditcooperatif" -s rdate,type,raw,label,amount --condition "rdate>%4" -n 99999
0014     echo "rdate;date;type;raw;label;amount"
0015     echo "2013-05-04;2013-05-04;1;TOTAL;TOTAL;-10"
0016 fi