From 757167a6eb4d408d92817e9b799db295e0e826a2 Mon Sep 17 00:00:00 2001 From: Florent Date: Wed, 29 Aug 2012 16:27:42 +0200 Subject: [PATCH] Add new command "balance" for boobill --- weboob/applications/boobill/boobill.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/weboob/applications/boobill/boobill.py b/weboob/applications/boobill/boobill.py index ba8d58f2..f2ee695e 100644 --- a/weboob/applications/boobill/boobill.py +++ b/weboob/applications/boobill/boobill.py @@ -116,6 +116,16 @@ class Boobill(ReplApplication): self.format(mysum) self.flush() + def do_balance(self, id): + """ + balance [Id] + + Get balance of subscriptions. + If no ID given, display balance of all backends + """ + + self.exec_method(id, 'get_balance') + def do_history(self, id): """ history [Id]