Help us shape the future of Go! Take the 2026 Go Developer Survey

fieldcreate

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreateField

func NewCmdCreateField(f *cmdutil.Factory, runF func(config createFieldConfig) error) *cobra.Command

Types

type CreateProjectV2FieldInput

type CreateProjectV2FieldInput struct {
	ProjectID           githubv4.ID     `json:"projectId"`
	DataType            githubv4.String `json:"dataType"`
	Name                githubv4.String `json:"name"`
	SingleSelectOptions []string        `json:"singleSelectOptions,omitempty"`
}

TODO: update this to use githubv4.CreateProjectV2FieldInput once it is available there

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL