MCPcopy Create free account
hub / github.com/cli/cli / Options

Method Options

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

Source from the content-addressed store, hash-verified

1031}
1032
1033func (p ProjectField) Options() []SingleSelectFieldOptions {
1034 if p.TypeName == "ProjectV2SingleSelectField" {
1035 var options []SingleSelectFieldOptions
1036 for _, o := range p.SingleSelectField.Options {
1037 options = append(options, SingleSelectFieldOptions{
1038 ID: o.ID,
1039 Name: o.Name,
1040 })
1041 }
1042 return options
1043 }
1044 return nil
1045}
1046
1047func (p ProjectField) ExportData(_ []string) map[string]interface{} {
1048 v := map[string]interface{}{

Callers 8

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