Skip to content

Commit f91c546

Browse files
authored
feat(cli): enable default query for 'lql run' cmd (#1218)
Signed-off-by: Salim Afiune Maya <[email protected]>
1 parent 475af39 commit f91c546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cmd/lql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ func inputQueryFromEditor(action string) (query string, err error) {
295295
FileName: "query*.yaml",
296296
}
297297

298-
if action == "create" {
298+
if action == "create" || action == "run" {
299299
prompt.Default = `queryId: YourQueryID
300300
queryText: |-
301301
{

0 commit comments

Comments
 (0)