cli/pkg/cmd/issue
Kynan Ware 4e6bc78e04 refactor(pr shared): extract SpecialAssigneeReplacer for @me and Copilot expansion
The inline replaceSpecialAssigneeNames closures in AssigneeIds and
AssigneeLogins were duplicated. Extract them into an exported
SpecialAssigneeReplacer type that consolidates MeReplacer and
CopilotReplacer into a single ReplaceSlice call, parameterised by
actorAssignees and copilotUseLogin.

Adopt the new type in the issue create flow as well, replacing the
manual MeReplacer + conditional CopilotReplacer sequence.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 18:59:21 -06:00
..
argparsetest Document TestArgParsing 2025-04-17 15:33:44 +02:00
close Remove StateReason feature detection for issue close 2026-03-04 13:31:30 -07:00
comment Add --delete-last option to pr comment and issue comment (#10596) 2025-05-01 14:12:55 +01:00
create refactor(pr shared): extract SpecialAssigneeReplacer for @me and Copilot expansion 2026-03-24 18:59:21 -06:00
delete Issue delete early arg parsing 2025-04-17 15:27:39 +02:00
develop Simplify progress indicators in issue develop 2026-03-02 17:01:57 +05:30
edit review: address code review feedback 2026-03-23 17:36:52 -06:00
list Remove StateReason feature detection for issue close 2026-03-04 13:31:30 -07:00
lock Issue lock early arg parsing 2025-04-17 15:27:39 +02:00
pin Issue pin early arg parsing 2025-04-17 15:27:39 +02:00
reopen Issue reopen early arg parsing 2025-04-17 15:27:39 +02:00
shared Remove StateReason feature detection for issue close 2026-03-04 13:31:30 -07:00
status Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
transfer Issue transfer early arg parsing 2025-04-17 15:27:39 +02:00
unpin Issue unpin early arg parsing 2025-04-17 15:27:39 +02:00
view Show friendly display names in gh issue view 2026-03-06 12:01:06 -07:00
issue.go Group PR, release, and repo subcommands 2022-12-21 14:47:59 +01:00