Add command to get the path of a bag by its shortened hash
Imagine that some bag produces an error. In the output of marv run
you'll only see the shortened hash of the bag. In order to debug the error, I need to copy this bag to my local copy of Marv. Thus I need to know the path of the bag.
My current workflow is to first get the long version of the hash by marv query --col=* | grep lcmpl6ra5m
or ls ~/site/store | grep lcmpl6ra5m
and then open the browser at https://domain.tld/#/detail/lcmpl6ra5masjmoiawer89wjmo to see the path of the bag in the web ui.
I think this workflow is unnecessarily complicated. I propose to add a command like marv path
that resolves the path of a bag given its short (or long) hash. It would be even better if you could pipe into the command like this: marv query --col=* | marv path
@chaoflow Do you also think that this would be a useful feature? Or is there already another, easier workflow that I missed?