#!/bin/bash
if [[ $1 = "ls" ]]; then
    #Simulate: boobank ls -q -f csv -v -s id,balance
  echo "id;label;balance"
    echo "CPT-12345678@bank1;;"
    echo "CPT-11111111@bank2;;"
else
    #Simulate: boobank -q -f csv history "47896@creditcooperatif" -s rdate,type,raw,label,amount --condition "rdate>%4" -n 99999
    echo "rdate;date;type;raw;label;amount"
    echo "2013-05-04;2013-05-04;0;TOTAL;TOTAL;-50"
fi
