Skip to content

feat(cli): add --limit flag to cap number of apps per command#153

Merged
BradMclain merged 1 commit intodevelopfrom
feat/app-limit-flag
May 6, 2026
Merged

feat(cli): add --limit flag to cap number of apps per command#153
BradMclain merged 1 commit intodevelopfrom
feat/app-limit-flag

Conversation

@BradMclain
Copy link
Copy Markdown
Collaborator

Example usage move first 5 apps matching filter to cluster prod-au-1

gitops setcluster --filter internal,prod-au-3 --cluster=prod-au-1 --limit=5

Open questions:

  • Patched all commands but we could bring it back to just ones we think this could actually be useful
  • Might be worth adding something to commit msg to indicate a limit was in effect eg "Move prod-au-3 to cluster 'prod-au-1' (10 of 47)."

@BradMclain BradMclain self-assigned this May 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Docker Images

Commit: 309ad2bf3d45cbb73786f9285978fa00ac9d4605

Tag
610829907584.dkr.ecr.ap-southeast-2.amazonaws.com/gitops:test-309ad2b

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@BradMclain BradMclain force-pushed the feat/app-limit-flag branch from de3bf4b to 309ad2b Compare May 6, 2026 23:52
@BradMclain BradMclain merged commit f85ce08 into develop May 6, 2026
3 checks passed
@BradMclain BradMclain deleted the feat/app-limit-flag branch May 6, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants