You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, when running a query from the command line, steampipe query takes the query as parameter. When composing pipelines, I would like to provide the query on STDIN:
cat <<EOQ | steampipe query --output json select title, url from hackernews_top order by score desc limit 10EOQ
This is already possible with psql (after steampipe service start):
cat <<EOQ | psql 'postgres://steampipe:********@localhost:9193/steampipe?sslmode=disable' select title, url from hackernews_top order by score desc limit 10EOQ
In the examples above, cat is used as a placeholder for other commands generating a query.
Thanks for steampipe, please keep up the good work!
The text was updated successfully, but these errors were encountered:
Thanks - I can sure use the argument. I just think it's easier to read the command line and understand the whole pipeline when constructed the way I propose (especially if it becomes more complex).
Today, when running a query from the command line,
steampipe query
takes the query as parameter. When composing pipelines, I would like to provide the query onSTDIN
:This is already possible with
psql
(aftersteampipe service start
):In the examples above,
cat
is used as a placeholder for other commands generating a query.Thanks for
steampipe
, please keep up the good work!The text was updated successfully, but these errors were encountered: