MCPcopy Index your code
hub / github.com/cli/cli / Options

Method Options

pkg/cmd/project/shared/queries/queries.go:986–998  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

984}
985
986func (p ProjectField) Options() []SingleSelectFieldOptions {
987 if p.TypeName == "ProjectV2SingleSelectField" {
988 var options []SingleSelectFieldOptions
989 for _, o := range p.SingleSelectField.Options {
990 options = append(options, SingleSelectFieldOptions{
991 ID: o.ID,
992 Name: o.Name,
993 })
994 }
995 return options
996 }
997 return nil
998}
999
1000func (p ProjectField) ExportData(_ []string) map[string]interface{} {
1001 v := map[string]interface{}{

Callers 7

ExportDataMethod · 0.95
buildSelectFormMethod · 0.80
buildMultiSelectFormMethod · 0.80
SelectMethod · 0.80
MultiSelectMethod · 0.80
MarkdownEditorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected