docs(label): add synopsis and examples to label commands

Description

Adds Long (Synopsis) fields and improved Examples to the label command and its five subcommands, as part of the style guide audit identified in #8263 (closed).

Each Synopsis explains the command's default behavior, key flags, and when to use --repo to target another project. The Examples section on each page is annotated with # comment lines that describe the intent of each invocation, following the pattern established in !3270 (merged) and !3274 (merged).

Commands updated:

  • label
  • label create
  • label delete
  • label edit
  • label get
  • label list

Content follows the documentation style guide and the GitLab CLI (glab) documentation style guide.

Documentation

If this MR adds or updates CLI command documentation, follow the conventions in the GitLab CLI (glab) documentation style guide, run make gen-docs, and commit the updated files in docs/source/.

Merge request reports

Loading