Skip to content

Commit

Permalink
add test query during setup to generate auto completion
Browse files Browse the repository at this point in the history
  • Loading branch information
brakf committed Aug 30, 2024
1 parent b8aeb65 commit dbe39c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/setup_and_execute_steampipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ grep -c '^\[profile' $AWS_CONFIG_FILE_PATH
echo "Number of created Steampipe Connections (incl. 1 aggregate connection ):"
grep -c '^connection' $STEAMPIPE_CONFIG_PATH

#Run test query to generate auto-completion
steampipe query "select count(*) as \"Accounts\" from aws_account;"

if [ "$MODE" = "INTERACTIVE" ]; then
steampipe query
elif [ "$MODE" = "SERVER" ]; then
Expand Down

0 comments on commit dbe39c6

Please sign in to comment.