cli/pkg/cmd/label
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
..
clone.go Fix linting issues: canonicalheader, embeddedstructfieldcheck, iotamixing, makezero, testableexamples, wastedassign, usetesting, tparallel, unconvert, intrange, iface 2026-03-24 11:05:52 +00:00
clone_test.go chore: typo hunting ft. codespell 2022-07-09 21:41:09 -05:00
create.go Inconsistent format of examples in help text 2025-02-27 16:26:25 +05:00
create_test.go Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
delete.go Rename --confirm flag to --yes for various destructive commands (#6915) 2023-01-26 12:48:21 +01:00
delete_test.go Rename --confirm flag to --yes for various destructive commands (#6915) 2023-01-26 12:48:21 +01:00
edit.go Inconsistent format of examples in help text 2025-02-27 16:26:25 +05:00
edit_test.go Add label edit command (#5519) 2022-04-26 09:43:07 +00:00
http.go Fix label clone to pass orderBy (#5675) 2022-05-23 08:32:11 +02:00
http_test.go Add label list sorting and delete command (#5503) 2022-05-03 07:31:18 +00:00
label.go Add label list sorting and delete command (#5503) 2022-05-03 07:31:18 +00:00
list.go Introduce color_labels support, update commands 2025-04-02 18:24:20 -04:00
list_test.go Remove trailing whitespace 2025-02-13 11:06:27 +05:00
shared.go Add json export flags to variable list command (#8516) 2024-01-17 10:09:09 -08:00