cli/pkg/cmd/discussion/shared/fields.go
Babak K. Shandiz 236224dc44
fix(discussion list): replace state with closed in domain types
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-04-14 11:52:52 +01:00

25 lines
390 B
Go

package shared
// DiscussionFields lists the field names available for --json output on
// discussion commands.
var DiscussionFields = []string{
"id",
"number",
"title",
"body",
"url",
"closed",
"stateReason",
"author",
"category",
"labels",
"answered",
"answerChosenAt",
"answerChosenBy",
"comments",
"reactionGroups",
"createdAt",
"updatedAt",
"closedAt",
"locked",
}