holepunchto / drives

CLI to download, seed, and mirror a Hyperdrive or Localdrive
Apache License 2.0
24 stars 10 forks source link

list of drive managed keys command #19

Open immetoo2 opened 1 year ago

immetoo2 commented 1 year ago

After touching and/or downloaded a multiple drives, it manages those keys but is missing a listing command, for example;

drives blkid

Results in one key per line output.

LuKks commented 1 year ago

Yep, it's actually a Corestore limitation that doesn't have a method to list the managed Hypercores. Will most definitively be possible in the future

arunkd13 commented 10 months ago

Existing issue on Corestore that is blocking this issue: https://github.com/holepunchto/corestore/issues/6

arunkd13 commented 10 months ago

Since there is no concrete date available for https://github.com/holepunchto/corestore/issues/6 I think it is simpler to track the list of drives created, outside of the corestore.

https://github.com/holepunchto/drives/pull/32 uses the above approach.

Thoughts?

immetoo2 commented 4 months ago

Since i tried to use drives in build pipeline steps and unit tests, my amount of junk drives grows per failed unit test. A managed way to delete those manually without deleting everything, would be very appreciated.