Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple output formats (JSON, zero-separated lines, etc.) #11

Open
cipriancraciun opened this issue Jan 8, 2023 · 0 comments

Comments

@cipriancraciun
Copy link
Member

cipriancraciun commented Jan 8, 2023

Add support for outputing in various formats (especially for generate) for the following formats:

  • text -- the current plain-text output format;
  • text-zero -- \0 terminated lines, meant mainly for tool consumption;
  • json -- JSON as a single object / array;
  • json-sequence -- a sequence of JSON objects / arrays; (useful for jq handling;)

(Special care must be taken to make sure we don't leak secret material while serializing. See also #8.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant