edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

Allow specifying query file and parameters as CLI arguments

Open scotttrinh opened this issue 9 months ago • 1 comments

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

scotttrinh avatar Mar 21 '25 20:03 scotttrinh

I believe query has --file already, but --params would be new.

mmastrac avatar Mar 21 '25 21:03 mmastrac