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

Subcommands --output enhancement for plain text #99

Closed
wants to merge 11 commits into from

Conversation

KazChe
Copy link

@KazChe KazChe commented Dec 8, 2024

Description

Part of enhancements for issue #87. It only adds support for text output format to subcommands that already support --output flag. This provides a plain text output that's easier for scripting/parsing.

Subcommands Enhanced

  • tenant list/get
  • instance list/get
  • customer-managed-key list/get
  • data-api graphql commands list/get (if enabled)

@KazChe KazChe closed this Dec 8, 2024
@KazChe
Copy link
Author

KazChe commented Dec 8, 2024

I think there are few requirements that needs to be hashed out before proceeding further. So, closing this PR for now.

  1. What is the expected format for plain text output?
  • Right now I've implemented tab separated values
  • Should it be consistent across all commands or command-specific?
  • and should it include all fields from JSON output or a subset?

Appreciate any guidance/clarification on these points to make sure the implementation meets the intended requirement.

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

Successfully merging this pull request may close these issues.

1 participant