Skip to content

feat: add project defaults#70

Merged
lusu007 merged 3 commits into
mainfrom
feat/project-defaults
Jul 7, 2026
Merged

feat: add project defaults#70
lusu007 merged 3 commits into
mainfrom
feat/project-defaults

Conversation

@lusu007

@lusu007 lusu007 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Pull Request

Description

Adds first-class project selection defaults to the CLI. Project-scoped commands now resolve the project from --project, GROUNDS_PROJECT, a local repository default, a global default, or the only available project. The new grounds project command supports listing, inspecting, setting, and clearing project defaults.

This also routes logs, cluster, bundle, devspace, preview, and push subcommands through the shared project resolver. Gradle-backed grounds push receives the resolved project as GROUNDS_PROJECT so compatible grounds-push plugin versions can scope Forge requests correctly.

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • ♻️ Refactoring
  • 📚 Documentation
  • 🔧 Chore

Related Issues

  • Fixes #

Testing

  • Unit tests pass
    • /home/lukas/.local/bin/pkgx go test ./...
  • Manual testing completed
    • /home/lukas/.local/bin/pkgx go build -o /tmp/grounds-cli-check ./cmd/grounds
    • git diff --check
  • New tests added for new functionality

Checklist

  • I have performed a self-review of my own code
  • Tests have been added/updated and pass (if needed)
  • Documentation has been updated (if needed)

@lusu007 lusu007 marked this pull request as ready for review July 7, 2026 17:41
Copilot AI review requested due to automatic review settings July 7, 2026 17:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d5ddd060e2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cmd/grounds/commands/push/push.go Outdated
Comment thread internal/config/config.go
@lusu007 lusu007 merged commit 9adee5c into main Jul 7, 2026
5 checks passed
@lusu007 lusu007 deleted the feat/project-defaults branch July 7, 2026 17:59
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