timvisee / prs

🔐 A secure, fast & convenient password manager CLI using GPG and git to sync.
https://gitlab.com/timvisee/prs
GNU General Public License v3.0
211 stars 8 forks source link

Tree view on `prs list` command instead of plain list #2

Closed ivan-avalos closed 3 years ago

ivan-avalos commented 3 years ago

Hello! I think it would be better if prs list behaved similarly to pass ls, showing passwords in a tree instead of a plain list, like this:

├── password1
├── folder
│   ├── password2
│   └── password3
└── password4
timvisee commented 3 years ago

Good idea, that looks better.

Would showing a tree view through ls by default be the best option? Creating a different subcommand or flag for it would be possible as well. What do you think?

timvisee commented 3 years ago

I've decided to change the default behavior of ls to show the tree view as you've suggested. Will be implementing that now.

timvisee commented 3 years ago

I've implemented this in a7ca38389454042b29bf729356683ede5cf86f3a, and released it as part of v0.2.3.

This version should be available as soon as this release pipeline succeeds.