boxo
boxo copied to clipboard
pinning/http: Add support for status wildcard
cc https://github.com/ipfs/go-ipfs/issues/7559
Passing all four states is tedious. I found myself wishing something like this was possible:
$ ipfs pin remote ls --status=any # show me all pins in all states
$ ipfs pin remote rm --status=any --force # purge remote service from all the pins
While we want to keep pinned as the default for performance reasons,
having any would be nice UX improvement.
@aschmahmann I was going to PR go-ipfs and add it there, but now I wonder if it does make sense to add support for Any status directly to this lib, and replace it with Queued,Pinning,Pinned,Failed behind the curtain. Thoughts?