Skip to content

fix(setup): tighten setup gating and Settings save flow#2

Merged
ekrist1 merged 3 commits into
ekrist1:masterfrom
tharropoulos:fix/setup-settings
Jun 3, 2026
Merged

fix(setup): tighten setup gating and Settings save flow#2
ekrist1 merged 3 commits into
ekrist1:masterfrom
tharropoulos:fix/setup-settings

Conversation

@tharropoulos
Copy link
Copy Markdown
Contributor

  • add Config.NeedsSetup() and have main.go enter setup when URL or API key is missing
  • preserve existing config in Setup so Settings edits keep non-connection fields
  • return to the first content tab after a successful Settings save
  • handle ctrl+c before the setup short-circuit so the first-run form is quittable

@tharropoulos
Copy link
Copy Markdown
Contributor Author

@ekrist1 Sorry for pinging, but I'm actively using this tool to debug clusters 😅

@ekrist1 ekrist1 merged commit 895afe0 into ekrist1:master Jun 3, 2026
@ekrist1
Copy link
Copy Markdown
Owner

ekrist1 commented Jun 3, 2026

@tharropoulos no problems, happy you find this small cli useful :) Will have a look at the other PR and merge them

@ekrist1
Copy link
Copy Markdown
Owner

ekrist1 commented Jun 3, 2026

@tharropoulos beta-2 is now released with some small fixes. Thanks for the PR, makes the CLI even more useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants