MatrixAI / Polykey-CLI

Polykey CLI - Open Source Decentralized Secret Sharing System for Zero Trust Workflows
https://polykey.com
GNU General Public License v3.0
6 stars 3 forks source link

`secrets ls` should be able to operate on multiple paths #321

Open aryanjassal opened 3 weeks ago

aryanjassal commented 3 weeks ago

Specification

In Unix, the ls command is able to list out the contents of each provided argument. This currently is not the case with the secrets ls command.

This needs to be updated to align with Unix expectations.

[aryanj@matrix-34xx:~]$ ls dir1
file1  file2

[aryanj@matrix-34xx:~]$ ls dir1 dir2
dir1:
file1 file2

dir2:
another_file  one_more_file

Additional context

Tasks

  1. Implement multiple vault listing support
  2. Write tests (use fastcheck where possible)
linear[bot] commented 3 weeks ago

ENG-453 `secrets ls` should be able to operate on multiple paths