1GH-PROJECT-FIELD-CREATE(1)     GitHub CLI manual    GH-PROJECT-FIELD-CREATE(1)
2
3
4

NAME

6       gh-project-field-create - Create a field in a project
7
8
9

SYNOPSIS

11       gh project field-create [<number>] [flags]
12
13
14

OPTIONS

16       --data-type <string>
17              DataType of the new field.: {TEXT|SINGLE_SELECT|DATE|NUMBER}
18
19
20       --format <string>
21              Output format: {json}
22
23
24       --name <string>
25              Name of the new field
26
27
28       --owner <string>
29              Login of the owner. Use "@me" for the current user.
30
31
32       --single-select-options <strings>
33              Options for SINGLE_SELECT data type
34
35
36

EXAMPLE

38       # create a field in the current user's project "1"
39       gh project field-create 1 --owner "@me" --name "new field" --data-type "text"
40
41       # create a field with three options to select from for owner monalisa
42       gh project field-create 1 --owner monalisa --name "new field" --data-type "SINGLE_SELECT" --single-select-options "one,two,three"
43
44
45
46
47

SEE ALSO

49       gh-project(1)
50
51
52
53                                   Nov 2023         GH-PROJECT-FIELD-CREATE(1)
Impressum