Scroll to navigation

GH-PROJECT-FIELD-CREATE(1) GitHub CLI manual GH-PROJECT-FIELD-CREATE(1)

NAME

gh-project-field-create - Create a field in a project

SYNOPSIS

gh project field-create [<number>] [flags]

OPTIONS

DataType of the new field.: {TEXT|SINGLE_SELECT|DATE|NUMBER}

Output format: {json}

Name of the new field

Login of the owner. Use "@me" for the current user.

Options for SINGLE_SELECT data type

EXAMPLE

# create a field in the current user's project "1"
gh project field-create 1 --owner "@me" --name "new field" --data-type "text"
# create a field with three options to select from for owner monalisa
gh project field-create 1 --owner monalisa --name "new field" --data-type "SINGLE_SELECT" --single-select-options "one,two,three"

SEE ALSO

gh-project(1)

Dec 2023