tftsr-devops_investigation/gh_2.63.0_linux_amd64/share/man/man1/gh-project-item-edit.1
Shaun Arman 6ebe3612cd
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m9s
Test / frontend-typecheck (pull_request) Successful in 1m15s
Test / rust-fmt-check (pull_request) Successful in 2m44s
Test / rust-clippy (pull_request) Successful in 24m22s
Test / rust-tests (pull_request) Successful in 25m43s
fix: lint fixes and formatting cleanup
- Fix TypeScript lint errors in setup.ts and LogUpload
- Remove unused imports and variables
- Fix duplicate Separator exports in ui/index.tsx
- Apply cargo fmt formatting to Rust code
- Update ESLint configuration
2026-04-09 20:42:40 -05:00

109 lines
2.0 KiB
Groff

.nh
.TH "GH-PROJECT-ITEM-EDIT" "1" "Nov 2024" "GitHub CLI 2.63.0" "GitHub CLI manual"
.SH NAME
gh-project-item-edit - Edit an item in a project
.SH SYNOPSIS
\fBgh project item-edit [flags]\fR
.SH DESCRIPTION
Edit either a draft issue or a project item. Both usages require the ID of the item to edit.
.PP
For non-draft issues, the ID of the project is also required, and only a single field value can be updated per invocation.
.PP
Remove project item field value using \fB--clear\fR flag.
.SH OPTIONS
.TP
\fB--body\fR \fB<string>\fR
Body of the draft issue item
.TP
\fB--clear\fR
Remove field value
.TP
\fB--date\fR \fB<string>\fR
Date value for the field (YYYY-MM-DD)
.TP
\fB--field-id\fR \fB<string>\fR
ID of the field to update
.TP
\fB--format\fR \fB<string>\fR
Output format: {json}
.TP
\fB--id\fR \fB<string>\fR
ID of the item to edit
.TP
\fB--iteration-id\fR \fB<string>\fR
ID of the iteration value to set on the field
.TP
\fB-q\fR, \fB--jq\fR \fB<expression>\fR
Filter JSON output using a jq expression
.TP
\fB--number\fR \fB<float32> (default 0)\fR
Number value for the field
.TP
\fB--project-id\fR \fB<string>\fR
ID of the project to which the field belongs to
.TP
\fB--single-select-option-id\fR \fB<string>\fR
ID of the single select option value to set on the field
.TP
\fB-t\fR, \fB--template\fR \fB<string>\fR
Format JSON output using a Go template; see "gh help formatting"
.TP
\fB--text\fR \fB<string>\fR
Text value for the field
.TP
\fB--title\fR \fB<string>\fR
Title of the draft issue item
.SH EXIT CODES
0: Successful execution
.PP
1: Error
.PP
2: Command canceled
.PP
4: Authentication required
.PP
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
.SH EXAMPLE
.EX
# edit an item's text field value
gh project item-edit --id <item-ID> --field-id <field-ID> --project-id <project-ID> --text "new text"
# clear an item's field value
gh project item-edit --id <item-ID> --field-id <field-ID> --project-id <project-ID> --clear
.EE
.SH SEE ALSO
\fBgh-project(1)\fR