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

Consistent output formatting #15

Open
s-hamann opened this issue Jun 8, 2024 · 0 comments
Open

Consistent output formatting #15

s-hamann opened this issue Jun 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@s-hamann
Copy link
Owner

s-hamann commented Jun 8, 2024

The output of the various subcommands is somewhat inconsistent. For newly generated tokens just the secret value is printed, domains get printed as one name per line, records are in zone file format and the rest is mostly unchanged JSON as returned by the API. This works all right for human processing, but may impose difficulties for automated processing.

I'd be nice to have a global --format option to choose between JSON, something easily greppable and something that is more human-friendly than JSON (and might be condensed to only the most commonly useful information).

@s-hamann s-hamann added the enhancement New feature or request label Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant