cli/pkg/cmd/issue
copilot-swe-agent[bot] dca59d52b6 Fix linting issues: canonicalheader, embeddedstructfieldcheck, iotamixing, makezero, testableexamples, wastedassign, usetesting, tparallel, unconvert, intrange, iface
- canonicalheader: fix cacheTTL header value to canonical form
- embeddedstructfieldcheck: move embedded fields before regular fields in 4 structs
- iotamixing: split const blocks mixing iota with non-iota constants
- makezero: use make([]T, 0, n) instead of make([]T, n) before appending
- testableexamples: add missing Output: comment to ExampleOption_UnwrapOrZero
- wastedassign: remove wasted initial assignments in 4 locations
- usetesting: replace os.MkdirTemp/os.Setenv with t.TempDir/t.Setenv in tests
- tparallel: add t.Parallel() to 8 top-level test functions
- unconvert: remove 16 unnecessary type conversions
- intrange: convert 3 for loops to use integer range syntax
- iface: consolidate identical EditPrompter and Prompt interfaces via type alias

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 11:05:52 +00: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 Fix linting issues: canonicalheader, embeddedstructfieldcheck, iotamixing, makezero, testableexamples, wastedassign, usetesting, tparallel, unconvert, intrange, iface 2026-03-24 11:05:52 +00: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 Fix linting issues: canonicalheader, embeddedstructfieldcheck, iotamixing, makezero, testableexamples, wastedassign, usetesting, tparallel, unconvert, intrange, iface 2026-03-24 11:05:52 +00:00
list Remove StateReason feature detection for issue close 2026-03-04 13:31:30 -07:00
lock Fix linting issues: canonicalheader, embeddedstructfieldcheck, iotamixing, makezero, testableexamples, wastedassign, usetesting, tparallel, unconvert, intrange, iface 2026-03-24 11:05:52 +00: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 Fix linting issues: canonicalheader, embeddedstructfieldcheck, iotamixing, makezero, testableexamples, wastedassign, usetesting, tparallel, unconvert, intrange, iface 2026-03-24 11:05:52 +00: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