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

Show equivalent opa eval command in code lens eval result tooltip #991

Open
anderseknert opened this issue Aug 16, 2024 · 0 comments
Open
Labels

Comments

@anderseknert
Copy link
Member

In order to help users better understand what command they actually launched when they clicked "Evaluate", it would be great if we would display the equivalent opa eval command in the hover window, with the same flags applied as those we've used (although, via the API).

opa eval --bundle --input input.json data.regal.ast.found.vars

While the main purpose would be just to inform, it would also make it easy for a user to copy that and move over to the terminal, should they want that.

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

No branches or pull requests

1 participant