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 "12345@creditcooperatif;;"
0006 else
0007     if [[ $5 = "12345@creditcooperatif" ]]; then
0008         echo "rdate;date;type;raw;label;amount"
0009         echo "2013-05-04;2013-05-04;0;TOTAL;TOTAL;-50"
0010         echo "2013-05-20;2013-05-20;1;SNCF;SNCF;-10"
0011         echo "2013-05-25;2013-05-25;1;CAF;CAF;160"  
0012     fi
0013 fi