Title: fix(member): add --limit flag to member list + page/limit consistency test by ysyneu · Pull Request #42 · flashcatcloud/flashduty-cli · GitHub
Open Graph Title: fix(member): add --limit flag to member list + page/limit consistency test by ysyneu · Pull Request #42 · flashcatcloud/flashduty-cli
X Title: fix(member): add --limit flag to member list + page/limit consistency test by ysyneu · Pull Request #42 · flashcatcloud/flashduty-cli
Description: What member list now exposes --limit (default 20, same wording as team list) and forwards it to MemberListRequest.Limit. New TestPageImpliesLimit walks the cobra command tree and asserts every command that registers --page also registers --limit, so future drift is caught at test time. Root cause member list registered --page but never --limit, even though the SDK's MemberListRequest embeds flashduty.ListOptions (which has Limit). Every other curated list command (alert/change/incident/oncall/team/audit/session) exposes both, so agents transfer the flag and hit unknown flag: --limit only here. Evidence Audit run audit-2026-06-11b: sess_GWzX4FHFabgaENLQkpNgHB steps 7-8: fduty member list --limit 3 → unknown flag: --limit sess_PZUjHi3xEAxuURncY6nSqZ steps 5-14: flag trial-and-error / --help round-trips The broader alias-everything matrix from the original proposal was deliberately excluded: channel/field list do client-side filtering with no server pagination, and renaming search flags is a design call, not a mechanical fix. Verification Pre-fix (member.go stashed): go test ./internal/cli -run TestPageImpliesLimit FAILS citing flashduty member list. Post-fix: go build ./... && go vet ./... && go test ./... all green. go run ./cmd/flashduty member list --help shows --limit.
Open Graph Description: What member list now exposes --limit (default 20, same wording as team list) and forwards it to MemberListRequest.Limit. New TestPageImpliesLimit walks the cobra command tree and asserts every com...
X Description: What member list now exposes --limit (default 20, same wording as team list) and forwards it to MemberListRequest.Limit. New TestPageImpliesLimit walks the cobra command tree and asserts every com...
Opengraph URL: https://github.com/flashcatcloud/flashduty-cli/pull/42
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4d66cf0a-3f29-5ac1-b3ab-3cdbf91d7e3b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E45C:19C66:8E47CB:C8F642:6A4E7E7C |
| html-safe-nonce | 511d18cfbed80ad553945d037a25424ac47db07f2dc35a3ed1f104c3fe580333 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDVDOjE5QzY2OjhFNDdDQjpDOEY2NDI6NkE0RTdFN0MiLCJ2aXNpdG9yX2lkIjoiODQ1NzI3OTU3Njc0OTI3Njc5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 157ec6a12206b455bc558cc5ab1a30c31ff96afefb56bf4580512434652bd0d2 |
| hovercard-subject-tag | pull_request:3851653619 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/flashcatcloud/flashduty-cli/pull/42/files |
| twitter:image | https://avatars.githubusercontent.com/u/9045284?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9045284?s=400&v=4 |
| og:image:alt | What member list now exposes --limit (default 20, same wording as team list) and forwards it to MemberListRequest.Limit. New TestPageImpliesLimit walks the cobra command tree and asserts every com... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/flashcatcloud/flashduty-cli git https://github.com/flashcatcloud/flashduty-cli.git |
| octolytics-dimension-user_id | 90465697 |
| octolytics-dimension-user_login | flashcatcloud |
| octolytics-dimension-repository_id | 1209147161 |
| octolytics-dimension-repository_nwo | flashcatcloud/flashduty-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1209147161 |
| octolytics-dimension-repository_network_root_nwo | flashcatcloud/flashduty-cli |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width