flux-framework / flux-accounting

bank/accounting interface for the Flux resource manager
https://flux-framework.readthedocs.io/projects/flux-accounting/en/latest/index.html
GNU Lesser General Public License v3.0
3 stars 10 forks source link

`list-banks`: use `AccountingFormatter` class #524

Open cmoussa1 opened 6 days ago

cmoussa1 commented 6 days ago

Problem

The list-banks command defines its own formatting for the output of the command, but the Python bindings now has its own common formatter and SQL utilities.


This PR edits the list-banks command to make use of the new formatter and external SQLite utilities. It also changes the default for the --fields optional argument to be None if it is not specified.