feat: CLI first successful sync hint message#21175
Merged
kodiakhq[bot] merged 7 commits intomainfrom Jul 29, 2025
Merged
Conversation
erezrokah
reviewed
Jul 29, 2025
erezrokah
approved these changes
Jul 29, 2025
Member
erezrokah
left a comment
There was a problem hiding this comment.
Looks good 🚀
If we add more query examples I would make it into a declarative embedded YAML that maps source tables + destinations to the example command/query, so we can easily add more examples
erezrokah
reviewed
Jul 29, 2025
cli/cmd/sync_v3.go
Outdated
| fmt.Println() | ||
| fmt.Println("Run the following command to get your oldest 10 EC2 instances:") | ||
| fmt.Println() | ||
| fmt.Println(`sqlite3 db.sql "SELECT account_id, instance_id, region, launch_time FROM aws_ec2_instances ORDER BY launch_time ASC LIMIT 10"`) |
Member
There was a problem hiding this comment.
I guess we can get the correct file path from the spec? Instead of hard coding db.sql
erezrokah
approved these changes
Jul 29, 2025
kodiakhq bot
pushed a commit
that referenced
this pull request
Jul 29, 2025
🤖 I have created a release *beep* *boop* --- ## [6.26.0](cli-v6.25.2...cli-v6.26.0) (2025-07-29) ### Features * CLI first successful sync hint message ([#21175](#21175)) ([bcf8a63](bcf8a63)) * CLI onboarding message updates ([#21168](#21168)) ([ea5cf7b](ea5cf7b)) ### Bug Fixes * **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.26.16 ([#21176](#21176)) ([64068c1](64068c1)) * **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.88.1 ([#21164](#21164)) ([7450686](7450686)) * **deps:** Update opentelemetry-collector monorepo ([#21136](#21136)) ([8ca25b1](8ca25b1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uses cloudquery/cloudquery-api-go#307
Shows a hint message on successful (total resources > 0) sync if the source is
awsand one of the destinations ispostgresqlorsqlite. Works only with bearer tokens (cloudquery login).