timvisee / prs

🔐 A secure, fast & convenient password manager CLI using GPG and git to sync.

Home Page:https://gitlab.com/timvisee/prs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ivan-avalos opened this issue · comments

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

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?

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

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

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