[pass] [Feature Request] Add a `--raw` option to `pass ls`

Serpent7776 serpent7776 at gmail.com
Wed Nov 9 00:11:11 CET 2016


On Mon, 7 Nov 2016 17:43:55 -0500
Linden Krouse <ztaticnull at gmail.com> wrote:

> So, I've been attempting to write some custom front-end-y types of
> interfaces for my desktop environment and I've recently gotten to making
> `pass` more convenient to use. To do so, it would be extraordinarily
> helpful for there to be an option for `pass` to dump fully qualified
> paths/names for it's passwords (without decrypting them). So, without
> further adieu:
> 
> I propose an option for `pass ls` which will print raw paths rather than a
> pretty print tree structure. For example:
Some time ago I also suggested option -1 which did exactly that, but it was not
included. I would also be happy to see pass list passwords in plain form (it
should be default IMO). Pretty printing is useless for me.

> Output of `pass ls`:
> 
> ```
> Password Store
> ├── email
> │   └── address at domain.com
> ├── money
> │   ├── bankbank1.com
> │   │   └── username
> │   └── bankbank2.com
> │       └── username
> └── web
>     └── postingforum1.com
>         └── username
> ```
> 
> Output of `pass ls --raw`:
> 
> ```
> email/address at domain.com
> money/bankbank1.com/username
> money/bankbank2.com/username
> web/postingforum1.com/username
> ```
> 
> This would make parsing the current state of the store much more convenient
> to anyone trying to use `pass` as their back-end data store.



-- 
/*
 * Serpent7776
 */


More information about the Password-Store mailing list