Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Feature Request: Dump Results of Query to stdout on Exit #3

Open
smook1980 opened this issue Dec 2, 2022 · 1 comment
Open

Feature Request: Dump Results of Query to stdout on Exit #3

smook1980 opened this issue Dec 2, 2022 · 1 comment

Comments

@smook1980
Copy link

Often times I'd like to pair down a large JSON blob from AWS or say Brew but am unsure of the document structure or query needed. I've thought a few times about writing a wrapper similar to what you've built. So thanks, this is great! However when I hit return to exit when I have the correct query the resulting JSON is not sent to stdout but sometimes the query is , but not always. It would be great if exiting would dump the present result of the query to stdout.

Let me know if the behavior I'm seeing is expected and not my environment and if this use cases matches your intention for the plugin. I may have some time coming up and would submit a PR if I get something working. Thanks!

@jihchi
Copy link
Owner

jihchi commented Dec 3, 2022

It sounds like a bug -- I'd expect that anything you see in the preview should be sent to stdout when you press "retrun" key.

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

No branches or pull requests

2 participants