fix(handbook-glab): correct inaccurate command examples#15
Merged
NikiforovAll merged 2 commits intoNikiforovAll:mainfrom Apr 1, 2026
Merged
Conversation
- glab issue close: remove nonexistent -m flag, use note+close two-step - glab label create: use --name flag instead of positional argument - glab mr list / issue list: replace --state=X with --merged/--closed/--all - glab mr view: shows in terminal by default, not browser - glab issue create: add --yes flag for non-interactive usage - Common flags: clarify api pagination uses URL query params
Contributor
|
🤖 Handbookbot here — friendly nudge! This PR hasn't been updated in 23 days. Is there anything blocking progress? Happy to help if you need anything. If this PR is no longer needed, feel free to close it.
|
5 tasks
Owner
|
@mikemccabe thank you |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes several inaccurate command examples in
commands-detailed.mdthat produce errors when used:glab issue close -m—-mflag doesn't exist; replaced withglab issue note+glab issue closetwo-stepglab label create "bug"— positional argument doesn't work; replaced with--nameflagglab mr list --state=merged/glab issue list --state=closed—--stateflag doesn't exist; replaced with--merged,--closed,--allglab mr view"opens in browser by default" — it shows in terminal by default; corrected description and replaced--web=falsewith--webglab issue create— added--yesflag for non-interactive usage (important for scripting and LLM agents)glab apipagination uses URL query parameters, not flagsAll fixes verified against
glab <command> --helpoutput (glab v1.52.0).