fpco / amber

Manage secret values in-repo via public key cryptography
MIT License
86 stars 9 forks source link

Is it necessary to print the "export" in print function? #10

Closed Magicloud closed 3 years ago

Magicloud commented 3 years ago

"print all of the secrets" actually prints shell commands.

timbod7 commented 3 years ago

It would be useful to have print alternatives, eg:

amber print --setenv           # current output suitable as bash input
amber print --json             # The decoded secrets as a json blob
amber print --yaml             # The decoded secrets as a yaml file
snoyberg commented 3 years ago

I personally like the current output, and have multiple times used it. However, I agree with the idea of a flag for different outputs.