glab(1)

πŸ’… glab(1) β€” the glab ci view era

okay bestie, welcome to glab's manual, section 1 πŸŽ€ this one's all about glab-ci-view, and honestly? it's kind of a whole vibe.

✨ NAME ✨

glab-ci-view β€” view, run, retry, and cancel CI/CD pipeline jobs. that's the whole job description, and it ate πŸ’…

🌸 SYNOPSIS 🌸

glab ci view [] [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

so it supports viewing, running, tracing, and canceling jobs. like, all of it. no cap.

use the arrow keys to navigate jobs and logs β€” yes, actual arrow keys, we're not monsters πŸ’–

  • Enter β€” toggles through a job's logs / traces, or displays a child pipeline. also!! trigger jobs are marked with a Β» so you can spot them instantly, iykyk.
  • Esc or q β€” closes the logs or trace, or returns you to the parent pipeline. escape hatch, literally 🧚
  • Ctrl+R, Ctrl+P β€” run, retry, or play a job. navigate the modal with Tab, the arrow keys, or h/j/k/l, and hit Enter to confirm. modal main character energy ✨
  • Ctrl+D β€” cancels a job. but heads up: if the selected job isn't running or pending, this quits the CI/CD view. so like... know before you go πŸ™ˆ
  • Ctrl+S β€” shows the full name of the selected job. for when the name is too long and you're squinting 😭
  • Ctrl+Q β€” quits the CI/CD view. bye bestie πŸ‘‹
  • Ctrl+Space β€” suspends the application and lets you view the logs. similar to glab ci trace, if you've met that one already 🫢

it also supports vi style bindings and arrow keys for navigating jobs and logs, because we contain multitudes πŸ’œ

and fyi: job names that are too long for their box will scroll while the job is selected. so nothing gets cut off, it just does a little dance 🌈

πŸŽ€ OPTIONS πŸŽ€

  • -b, --branch="" β€” check the pipeline status for a branch or tag. defaults to the current branch, obviously πŸ’…
  • -p, --pipelineid=0 β€” check the pipeline status for a specific pipeline ID. yes, you give it a number ✨
  • -w, --web[=false] β€” open the pipeline in a browser. it uses the default browser, or whichever browser you specified in the BROWSER environment variable πŸ”₯

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • -h, --help[=false] β€” show help for this command. the classic 🫢
  • -R, --repo="" β€” select another repository. you can use either OWNER/REPO or GROUP/NAMESPACE/REPO. the full URL or Git URL is also accepted, so go off, flex those formats πŸ’–

πŸ“ EXAMPLE πŸ“

# Use the current branch
glab ci view

# View the latest pipeline on main
glab ci view main

# View the latest pipeline on main using a flag
glab ci view -b main

# View the latest pipeline on main for another project
glab ci view -b main -R myusername/myproject

⭐ SEE ALSO ⭐

  • glab-ci(1) β€” go say hi to the parent πŸ‘‘

and that's the tea, bestie πŸ¦‹ this page was auto generated by spf13/cobra back in Nov 2026, and it's page glab(1) of the manual β€” slay, iconic, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from