846012c087
Wrappers Bash sobre pass (password-store) para CRUD de secretos, generación de contraseñas y sincronización con git. Incluye script de test. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
827 B
827 B
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | tested | tests | test_file_path | file_path | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pass_list | function | bash | infra | 1.0.0 | impure | pass_list([prefix: string]) -> json | Lista entradas del password store como JSON array. Filtra opcionalmente por prefijo. |
|
false | error_go_core | true |
|
bash/functions/infra/pass_test.sh | bash/functions/infra/pass_list.sh |
Ejemplo
source pass_list.sh
entries=$(pass_list agentes)
# ["dataforge-token","egutierrez-token","gitea-url"]
Notas
Parsea el output tree de pass ls y lo convierte a JSON array. Cada entrada es un string con el nombre relativo al prefijo.