Open cmoussa1 opened 3 months ago
I force-pushed to catch up after #526, but I'm thinking now that flux-accounting has its own formatter class, perhaps I should hold off on getting this PR landed until I restructure view-user
to use the new class. Then adding this feature probably becomes cleaner
Problem
Mentioned in #478, there is no concise way to just view a list of banks that a user belongs to without having to parse through the rest of the accounting information associated with it.
This PR adds a new optional argument to
view-user
called--list-banks
, which just outputs a newline-delimited list of banks that a user belongs to.A basic test file is also added which calls this optional argument. For now, this is just built on top of #477, but I can always make it separate in case this gets reviewed first. :-)
Fixes #478