Files
fn_registry/bash/functions/infra/pass_get.md
egutierrez 5f4f1f7508 docs: params/output semántico en 506 funciones para composabilidad
Añade campos params y output al frontmatter YAML de las 506 funciones del registry.
Cada parámetro tiene descripción semántica (qué representa, unidades, rango típico)
y cada función describe qué produce su output. Permite a agentes razonar sobre
cadenas de composición (ej: prices → log_return → sharpe_ratio) sin leer código.
2026-04-05 18:45:16 +02:00

890 B

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, 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 params output tested tests test_file_path file_path
pass_get function bash infra 1.0.0 impure pass_get(entry: string) -> string Lee un secreto del password store (pass) y lo imprime a stdout.
pass
secret
credential
get
false error_go_core
name desc
entry ruta de entrada en el password store
valor del secreto en texto plano true
lee entrada existente
falla con entrada inexistente
bash/functions/infra/pass_test.sh bash/functions/infra/pass_get.sh

Ejemplo

source pass_get.sh
token=$(pass_get agentes/dataforge-token)
export GITEA_TOKEN="$token"

Notas

Usa pass show internamente. Requiere GPG key desbloqueada. No imprime newline final (usa printf %s).