GH-PROJECT-FIELD-LIST(1)
π gh-project-field-list β bestie edition π
okay so this is the gh manual page for gh-project-field-list, straight out of the GitHub CLI manual (yes, that GitHub CLI, the one you already have installed, slay). It's a subcommand situation β it lives under the gh project family, and it does exactly one iconic thing: it lists the fields in a project. That's it. That's the whole vibe. π
β¨ NAME β¨
gh-project-field-list β List the fields in a project π
Like, all the fields. The custom ones, the built-in ones, the ones somebody on your team added at 2am and then forgot about. It's giving inventory check, honestly.
πΈ SYNOPSIS πΈ
gh project field-list [<number>] [flags]
See that <number> in italics? That's the project number, and it's optional (square brackets, bestie, square brackets mean optional π«Ά). And [flags] means you can pile on the options below. Go off.
π₯ OPTIONS π₯
--format <string>β Output format. The documented value here is{json}. Soβ¦ json. That's the format. That's the whole menu. π-q,--jq <expression>β Filter JSON output using a jq expression. You know jq, you love jq, you've cried over jq β now use it right here on the JSON output. iykyk. π-L,--limit <int>(default30) β Maximum number of fields to fetch. Defaults to 30, so if your project has a truly unhinged number of fields you gotta raise it yourself. no cap. π--owner <string>β Login of the owner. And here's the cute part: use"@me"for the current user. Very main character energy of you. β¨-t,--template <string>β Format JSON output using a Go template. And for the lore, it says: see"gh help formatting". Go read that, it's literally right there. π¦
ngl if you mix--format,--jqand--templatewithout thinking, that's a you problem β this page doesn't promise anything about that, and neither do I. π
β EXIT CODES β
okay so exit codes, the vibe check of any command:
0β Successful execution β ate and left no crumbs π1β Error β something went sideways π2β Command canceled β you hit Ctrl+C, no judgment4β Authentication required β go log in, bestie π
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. (fr fr, always check the command's own help. there may be extra codes lurking.)
π§ EXAMPLE π§
Here's the actual example, verbatim, because I would never mess with your copy-paste:
# List fields in the current user's project "1"
$ gh project field-list 1 --owner "@me"
Look at that. Project 1, owner "@me", fields listed. Chef's kiss. Obsessed. π
π SEE ALSO π
gh-project(1)β the parent page, go read it too, it's the whole family π
and that's the page!! GitHub CLI v2.102.0, dated Oct 2026, from the GitHub CLI manual β ty for reading my whole essay, ily, go list some fields πβ¨π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms