glab(1)

✨ NAME ✨

glab-config-get is the glab(1) manual page that prints the value of a given configuration key. That's the whole job, bestie β€” no extra lore, no side quests. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

glab config get  [flags]

πŸ’– DESCRIPTION πŸ’–

Okay so by default, the lookup order is: environment variables first, then the local repository configuration, then the global configuration. Order matters, no cap. ✨

Use --global when you want to read only from the global configuration file, or --host to read a per-host setting. Very "specific queen" of it.

If the key is not set, nothing is printed. Literally nothing. No little message, no sad little shrug β€” just empty output. 😭

πŸ‘‘ OPTIONS πŸ‘‘

  • -g, --global[=false] β€” read from the global config file (~/.config/glab-cli/config.yml). The default checks 'Environment variables β†’ Local β†’ Global'. iykyk.
  • --host="" β€” get the per-host setting. That's it. That's the option. πŸŽ€

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

  • -h, --help[=false] β€” show help for this command. Parent-command hand-me-down, still iconic.

πŸ“ EXAMPLE πŸ“

Actual examples, fr fr:

$ glab config get editor
vim

$ glab config get glamour_style
notty

πŸŽ€ SEE ALSO πŸŽ€

✨ This page is Auto generated by spf13/cobra β€” dated Nov 2026 β€” and it's part of the glab(1) manual. Bye bestie! 🫢✨

πŸ“¦ where this page comes from