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

Support for --format argument on search command #1262

Open
davideavanzi opened this issue Jul 3, 2024 · 2 comments
Open

Support for --format argument on search command #1262

davideavanzi opened this issue Jul 3, 2024 · 2 comments

Comments

@davideavanzi
Copy link

Currently, the keeper search command does not support different output formats other than tabular data.

As an example, it is possible to run the keeper list --format=json command to obtain the whole vault in a JSON format, but it's not possible to have the same output for the keeper search one.

In fact, running keeper search --format=json search_term returns the following error:
unrecognized arguments: --format search_term

@sk-keeper
Copy link
Collaborator

Commander supports --format argument for commands with table-like output.
search command output is not a table though it can be redirected to json format.
There are list, list-sf, and list-team commands that support --format argument.

@davideavanzi
Copy link
Author

I understand, I was supposing that the search output was mostly the same as the one of the list command, so I thought that a JSON-formatted output might be useful.

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

No branches or pull requests

2 participants