nutki / spike-tools

Utilities for experimenting with Lego Spike Hub
53 stars 12 forks source link

[request] enhance the list output to show the base64 decoded file names #2

Open BertLindeman opened 4 years ago

BertLindeman commented 4 years ago

Using spike-tools for a few hours now.

suggestions:

  1. Add a line to the list output (at most 20 lines, so only few) with the decoded file name
  2. remove id from the print and add type unless you have an explanation what it means.
  3. Add the project if we know what type of encoding there is on it

Something like this maybe:

# Name / Name decoded Size type Last Modified
0 ZGlyZWN0b3J5X2xpc3Q= 1725b python 2020-07-27 13:05:09
. directory_list
1 dHJ5X21vZHVsZXM= 357b python 2020-07-26 22:15:06
. try_modules
9 UHJpbWVDdWJlci12MXAx 1662b python 2020-07-26 18:02:38
. PrimeCuber-v1p1
10 YXZhaWxhYmxlbW9kdWxlcw== 494b python 2020-07-26 22:51:58
. availablemodules
. . . . 30940/31744kb Free

If you want a pull request for this I will make one, of course.

Bert