Table views
annybs opened this issue · comments
Currently we use a simple printing mechanism (printData
) to display object data as key-value pairs, which isn't very compact. This can be improved by adopting a table view, e.g. changing from this:
ID: 2afb7488
Hash: c5487704
Tx: dda0cf48ecdab671ebaed33a8de5dfb841d93bc1cca9dc55de87b3d9ab79a010
Created: 2021-10-26 10:56:01
Amount: 25,000.000000 XE
Type: Gateway
Status: Active
To this:
ID Hash Tx Created Amount Type Status
2afb7488 c5487704 dda0cf48 2021-10-26 10:56:01 25,000.000000 XE Gateway Active
Potentially with MySQL-style decoration, though that would be less friendly to awk
et al.