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> (default 30) β€” 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, --jq and --template without 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:

  1. 0 β€” Successful execution β€” ate and left no crumbs πŸ‘‘
  2. 1 β€” Error β€” something went sideways πŸ’€
  3. 2 β€” Command canceled β€” you hit Ctrl+C, no judgment
  4. 4 β€” 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