manifoldco / torus-cli

A secure, shared workspace for secrets
https://www.torus.sh
BSD 3-Clause "New" or "Revised" License
613 stars 32 forks source link

Bug - torus list produces empty output if no secrets set #346

Closed ianlivingstone closed 6 years ago

ianlivingstone commented 6 years ago

If a user doesn't have access to any secrets then torus list outputs nothing. We should probably return a nice message perhaps with an emoji for this default state.

We should probably also hint regarding torus set.

ianlivingstone commented 6 years ago

Thinking through this more, it'd be nice if we just said You have access to (0) secrets. Then we always displayed that line.

ianlivingstone commented 6 years ago

It'd also be nice, if when you specify a secret to search for (e.g. torus list hello), it told you that you were searching for secrets that match hello.