Skip to content

feat: rename incident list --title to --query#10

Merged
ysyneu merged 1 commit into
flashcatcloud:mainfrom
ysyneu:feat/incident-query-flag
May 27, 2026
Merged

feat: rename incident list --title to --query#10
ysyneu merged 1 commit into
flashcatcloud:mainfrom
ysyneu:feat/incident-query-flag

Conversation

@ysyneu
Copy link
Copy Markdown
Contributor

@ysyneu ysyneu commented May 27, 2026

Summary

  • The SDK's IncidentListInput replaced the narrow Title filter with a broader free-text Query (also resolves a 24-char incident ID or 6-char incident num to a direct lookup).
  • Rename the corresponding CLI flag on flashduty incident list from --title to --query and update the help text to reflect the wider semantics.
  • --title on incident create / incident update is unrelated to the search filter and stays as-is.

Test plan

  • make build succeeds
  • go test ./... passes
  • flashduty incident list --help shows the new --query flag with the updated description

The SDK's incident list API expanded its title filter into a
broader free-text query that also matches labels, content, and
resolves 24-char incident IDs / 6-char incident nums to direct
lookups. Rename the CLI flag to reflect the wider semantics.
@ysyneu ysyneu merged commit c43f31e into flashcatcloud:main May 27, 2026
7 checks passed
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.

1 participant