René's URL Explorer Experiment


Title: feat(cli): incident info --num + channel team/creator names (fc-event#1674) by ysyneu · Pull Request #52 · flashcatcloud/flashduty-cli · GitHub

Open Graph Title: feat(cli): incident info --num + channel team/creator names (fc-event#1674) by ysyneu · Pull Request #52 · flashcatcloud/flashduty-cli

X Title: feat(cli): incident info --num + channel team/creator names (fc-event#1674) by ysyneu · Pull Request #52 · flashcatcloud/flashduty-cli

Description: Final link in the docs → SDK → CLI chain for fc-event#1674. Depends on go-flashduty#11 (pins its branch commit via pseudo-version). Changes incident info — new --num flag (server-side 6-char short-id lookup; the backend relaxed incident_id to optional and resolves num to the most-recent match). This replaces the old client-side incident list --query → incident info two-step dance for the generated twin. channel list / channel info — response help now documents team_name + creator_name; the fields flow through the regenerated go-flashduty ChannelItem (visible in --json/--toon). cligen enhancement — optional positional (no back-compat loss) Relaxing incident_id to optional would have dropped the generated incident info positional (cligen only pins required *_id fields → gen_positional_test contract break). Rather than lose it, added a 0-or-1 optional positional mode: positional.Optional + optionalPositional map (pins incidentInfo → incident_id, marked optional) optionalArg(name) validator (0-or-1; rejects >1) Result: incident info # positional → incident_id (back-compat) incident info --num CBE249 # short-id (new) incident info # 0 args + --num → valid (reaches backend) incident info a b # rejected: "expects at most one incident_id" Verification go build ./... + go test ./internal/... (incl. updated gen_positional) pass. End-to-end smoke confirms the Usage line incident info [] and arg arities. Landing note go-flashduty is pinned to the chore/enrich-1674-spec commit as a pseudo-version so this PR is CI-green now. After go-flashduty#11 merges + releases, re-pin go.mod to the released version (one-line go get), then this is final. Chain (merge in order) flashduty-docs#89 → docs main go-flashduty#11 → go-flashduty main (+ release) this PR → flashduty-cli feat/ai-sre

Open Graph Description: Final link in the docs → SDK → CLI chain for fc-event#1674. Depends on go-flashduty#11 (pins its branch commit via pseudo-version). Changes incident info — new --num flag (server-side 6-char short...

X Description: Final link in the docs → SDK → CLI chain for fc-event#1674. Depends on go-flashduty#11 (pins its branch commit via pseudo-version). Changes incident info — new --num flag (server-side 6-char short...

Opengraph URL: https://github.com/flashcatcloud/flashduty-cli/pull/52

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ff750aa8-c181-5c52-9115-1362b4ab35d7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9FF4:FB1CA:E49854:13BAE2C:6A4DD1D5
html-safe-noncebecff9e1a0817e3ee842909f4220816cadc77a7d48dd7690b7154c888074f461
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkY0OkZCMUNBOkU0OTg1NDoxM0JBRTJDOjZBNEREMUQ1IiwidmlzaXRvcl9pZCI6IjgyNDI0NjA3MTc1MjI0OTgxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf159d692f7c67cb54f76a683d70f4fc14e63a5300e46b6878b347f4efc659b1b
hovercard-subject-tagpull_request:3872868289
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/flashcatcloud/flashduty-cli/pull/52/files
twitter:imagehttps://avatars.githubusercontent.com/u/9045284?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9045284?s=400&v=4
og:image:altFinal link in the docs → SDK → CLI chain for fc-event#1674. Depends on go-flashduty#11 (pins its branch commit via pseudo-version). Changes incident info — new --num flag (server-side 6-char short...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/flashcatcloud/flashduty-cli git https://github.com/flashcatcloud/flashduty-cli.git
octolytics-dimension-user_id90465697
octolytics-dimension-user_loginflashcatcloud
octolytics-dimension-repository_id1209147161
octolytics-dimension-repository_nwoflashcatcloud/flashduty-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1209147161
octolytics-dimension-repository_network_root_nwoflashcatcloud/flashduty-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/flashcatcloud/flashduty-cli/pull/52/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fflashcatcloud%2Fflashduty-cli%2Fpull%2F52%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fflashcatcloud%2Fflashduty-cli%2Fpull%2F52%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=flashcatcloud%2Fflashduty-cli
Reloadhttps://github.com/flashcatcloud/flashduty-cli/pull/52/files
Reloadhttps://github.com/flashcatcloud/flashduty-cli/pull/52/files
Reloadhttps://github.com/flashcatcloud/flashduty-cli/pull/52/files
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/52/files
flashcatcloud https://github.com/flashcatcloud
flashduty-clihttps://github.com/flashcatcloud/flashduty-cli
Notifications https://github.com/login?return_to=%2Fflashcatcloud%2Fflashduty-cli
Fork 2 https://github.com/login?return_to=%2Fflashcatcloud%2Fflashduty-cli
Star 4 https://github.com/login?return_to=%2Fflashcatcloud%2Fflashduty-cli
Code https://github.com/flashcatcloud/flashduty-cli
Issues 0 https://github.com/flashcatcloud/flashduty-cli/issues
Pull requests 0 https://github.com/flashcatcloud/flashduty-cli/pulls
Actions https://github.com/flashcatcloud/flashduty-cli/actions
Projects https://github.com/flashcatcloud/flashduty-cli/projects
Security and quality 0 https://github.com/flashcatcloud/flashduty-cli/security
Insights https://github.com/flashcatcloud/flashduty-cli/pulse
Code https://github.com/flashcatcloud/flashduty-cli
Issues https://github.com/flashcatcloud/flashduty-cli/issues
Pull requests https://github.com/flashcatcloud/flashduty-cli/pulls
Actions https://github.com/flashcatcloud/flashduty-cli/actions
Projects https://github.com/flashcatcloud/flashduty-cli/projects
Security and quality https://github.com/flashcatcloud/flashduty-cli/security
Insights https://github.com/flashcatcloud/flashduty-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fflashcatcloud%2Fflashduty-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fflashcatcloud%2Fflashduty-cli%2Fissues%2Fnew%2Fchoose
ysyneuhttps://github.com/ysyneu
feat/ai-srehttps://github.com/flashcatcloud/flashduty-cli/tree/feat/ai-sre
chore/cli-enrich-1674https://github.com/flashcatcloud/flashduty-cli/tree/chore/cli-enrich-1674
Conversation 0 https://github.com/flashcatcloud/flashduty-cli/pull/52
Commits 1 https://github.com/flashcatcloud/flashduty-cli/pull/52/commits
Checks 12 https://github.com/flashcatcloud/flashduty-cli/pull/52/checks
Files changed https://github.com/flashcatcloud/flashduty-cli/pull/52/files
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/52/files
feat(cli): incident info --num + channel team/creator names (fc-event#1674) https://github.com/flashcatcloud/flashduty-cli/pull/52/files#top
Show all changes 1 commit https://github.com/flashcatcloud/flashduty-cli/pull/52/files
7df80f0 feat(cli): incident info --num + channel team/creator names (fc-event… ysyneu Jun 16, 2026 https://github.com/flashcatcloud/flashduty-cli/pull/52/commits/7df80f07b47fdf907cc138acf188a2223a381171
Clear filters https://github.com/flashcatcloud/flashduty-cli/pull/52/files
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/52/files
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/52/files
go.mod https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
go.sum https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
args.go https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-5afdfd25b03dba326ad884222463cdeadd42f5f909057ea23387a49b8563c98f
gen_positional_test.go https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-446c6dfaafe6add7ebf823589ba1c902e983bf98230ac3e9dd782405733dc675
zz_generated_channels.go https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-6a44dde64e25b468297372d71e8318665fb69b496303ae8d7519875c1e54838c
zz_generated_incidents.go https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-c94f867c7d847f66900d6a3fe11e69ecff21eae4d6b2489f657f46c057cba6f2
zz_generated_response_help.go https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-30a7862751690c8b41290ec82e6909b0338181f62866dd956c399d41f0c8c5d7
main.go https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-185d72d8ec60f8dbd524f6616e48dc40b132c9aec02cfde66e1c128f40068d62
go.modhttps://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
View file https://github.com/flashcatcloud/flashduty-cli/blob/7df80f07b47fdf907cc138acf188a2223a381171/go.mod
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flashcatcloud/flashduty-cli/pull/52/{{ revealButtonHref }}
https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
go.sumhttps://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
View file https://github.com/flashcatcloud/flashduty-cli/blob/7df80f07b47fdf907cc138acf188a2223a381171/go.sum
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flashcatcloud/flashduty-cli/pull/52/{{ revealButtonHref }}
https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
internal/cli/args.gohttps://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-5afdfd25b03dba326ad884222463cdeadd42f5f909057ea23387a49b8563c98f
View file https://github.com/flashcatcloud/flashduty-cli/blob/7df80f07b47fdf907cc138acf188a2223a381171/internal/cli/args.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flashcatcloud/flashduty-cli/pull/52/{{ revealButtonHref }}
https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-5afdfd25b03dba326ad884222463cdeadd42f5f909057ea23387a49b8563c98f
https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-5afdfd25b03dba326ad884222463cdeadd42f5f909057ea23387a49b8563c98f
internal/cli/gen_positional_test.gohttps://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-446c6dfaafe6add7ebf823589ba1c902e983bf98230ac3e9dd782405733dc675
View file https://github.com/flashcatcloud/flashduty-cli/blob/7df80f07b47fdf907cc138acf188a2223a381171/internal/cli/gen_positional_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flashcatcloud/flashduty-cli/pull/52/{{ revealButtonHref }}
https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-446c6dfaafe6add7ebf823589ba1c902e983bf98230ac3e9dd782405733dc675
https://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-446c6dfaafe6add7ebf823589ba1c902e983bf98230ac3e9dd782405733dc675
internal/cli/zz_generated_channels.gohttps://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-6a44dde64e25b468297372d71e8318665fb69b496303ae8d7519875c1e54838c
View file https://github.com/flashcatcloud/flashduty-cli/blob/7df80f07b47fdf907cc138acf188a2223a381171/internal/cli/zz_generated_channels.go
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/52/files
internal/cli/zz_generated_incidents.gohttps://github.com/flashcatcloud/flashduty-cli/pull/52/files#diff-c94f867c7d847f66900d6a3fe11e69ecff21eae4d6b2489f657f46c057cba6f2
View file https://github.com/flashcatcloud/flashduty-cli/blob/7df80f07b47fdf907cc138acf188a2223a381171/internal/cli/zz_generated_incidents.go
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/52/files
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/52/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.