[request] -l should alias to seance
xkortex opened this issue · 1 comments
xkortex commented
As a dyed-in-black goth, I absolutely love the terminology of the rip flags/commands. But my muscle memory with most coreutils is that if a tool has something approximating list things
, it should do that with a -l
. Since seance
only lists things in the context dir, -l
ought to list the contents of the graveyard. I just can't think of anything spooky it stands for.
If that sounds cool, I'll PR it for you as a bit of rust practice for myself.
IDK, maybe it secretly stands for lugosi
;)
nivekuil commented
Ah, so I finally remembered why it's called "seance" and not something
more familiar like "list". I think if it were called "list" I would
expect it to list all the files in the graveyard, but "seance" lists all
the files that were deleted from the current directory. I actually
don't remember why I thought this was useful, but for just listing stuff
in the graveyard you can just do `find /tmp/graveyard-foo` adding `-f`
if you wanted files -- didn't see much of a point in reimplementing that
here. The theme behind it is supposed to be like, a place (in the
filesystem) of dead spirits or something, you go there and you do a
seance and they present themselves to you.
…On 24 March 2020 10:08, Mike McDermott ***@***.***> wrote:
As a dyed-in-black goth, I absolutely love the terminology of the rip flags/commands. But my muscle memory with most coreutils is that if a tool has something approximating `list things`, it should do that with a `-l`. So it is my humblest opinion that `-l` should be an additional alias for `--seance`.
If that sounds cool, I'll PR it for you as a bit of rust practice for myself.
IDK, maybe it secretly stands for `lugosi` ;)