Skip to content

fix: Correct --offline flag reference to --disable-ai in init error message#22357

Merged
JoeKarlsson merged 1 commit intomainfrom
fix/init-offline-flag-typo
Mar 26, 2026
Merged

fix: Correct --offline flag reference to --disable-ai in init error message#22357
JoeKarlsson merged 1 commit intomainfrom
fix/init-offline-flag-typo

Conversation

@JoeKarlsson
Copy link
Copy Markdown
Contributor

Summary

  • The cloudquery init error message for unauthenticated interactive mode referenced a non-existent --offline flag
  • The actual flag defined on line 61 of init.go is --disable-ai
  • This fixes the error message to reference the correct flag

Test plan

  • Verify the error message now correctly references --disable-ai
  • Run cloudquery init without authentication and without --disable-ai to confirm the updated message appears

🤖 Generated with Claude Code

…ror message

The error message for unauthenticated interactive mode referenced a
non-existent --offline flag. The actual flag is --disable-ai.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@JoeKarlsson JoeKarlsson requested a review from a team as a code owner March 26, 2026 18:40
@JoeKarlsson JoeKarlsson self-assigned this Mar 26, 2026
@erezrokah erezrokah changed the title fix(cli): Correct --offline flag reference to --disable-ai in init error message fix: Correct --offline flag reference to --disable-ai in init error message Mar 26, 2026
@erezrokah
Copy link
Copy Markdown
Member

You might need to run the CLI make gen

@JoeKarlsson
Copy link
Copy Markdown
Contributor Author

@erezrokah - You sure make gen are relevant to this fix? The generated docs and schema weren't affected by the error message change (as expected — it's a runtime string, not a flag description).

@erezrokah
Copy link
Copy Markdown
Member

@erezrokah - You sure make gen are relevant to this fix? The generated docs and schema weren't affected by the error message change (as expected — it's a runtime string, not a flag description).

Ah true it's only an error it's not in the docs, I stand corrected

@JoeKarlsson JoeKarlsson added the automerge Automatically merge once required checks pass label Mar 26, 2026
@JoeKarlsson JoeKarlsson merged commit cdf9799 into main Mar 26, 2026
14 of 15 checks passed
@JoeKarlsson JoeKarlsson deleted the fix/init-offline-flag-typo branch March 26, 2026 20:08
kodiakhq bot pushed a commit that referenced this pull request Mar 27, 2026
🤖 I have created a release *beep* *boop*
---


## [6.35.3](cli-v6.35.2...cli-v6.35.3) (2026-03-27)


### Bug Fixes

* Correct --offline flag reference to --disable-ai in init error message ([#22357](#22357)) ([cdf9799](cdf9799))
* **deps:** Update module github.com/buger/jsonparser to v1.1.2 [SECURITY] ([#22325](#22325)) ([816b4a0](816b4a0))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.14.9 ([#22352](#22352)) ([a98a303](a98a303))
* **deps:** Update module github.com/cloudquery/codegen to v0.4.0 ([#22347](#22347)) ([782290d](782290d))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.27.10 ([#22317](#22317)) ([3302565](3302565))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.27.11 ([#22343](#22343)) ([f435d9d](f435d9d))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.27.9 ([#22315](#22315)) ([683717b](683717b))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.94.6 ([#22318](#22318)) ([ddde2f0](ddde2f0))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.94.7 ([#22338](#22338)) ([5d71062](5d71062))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.95.0 ([#22354](#22354)) ([35ed376](35ed376))
* **deps:** Update module google.golang.org/grpc to v1.79.3 [SECURITY] ([#22249](#22249)) ([6f13828](6f13828))
* Update old subdomain URLs to new path-based domains ([#22319](#22319)) ([a7cec25](a7cec25))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants