edgedb-cli
edgedb-cli copied to clipboard
Allow specifying query file and parameters as CLI arguments
The common use case I have in mind is passing a complex query and associated complex data to analyze to get the fine-grained query plan, but in general being able to specify arguments at query-time from the CLI statically would be useful in general.
Something like:
gel query --query big_query.edgeql --params params.edgeql
I believe query has --file already, but --params would be new.