Add new command "balance" for boobill
This commit is contained in:
parent
f6c212ca72
commit
757167a6eb
1 changed files with 10 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue