cli/docs/source/label/list.md

49 lines
1021 B
Markdown
Raw Permalink Normal View History

---
stage: Create
group: Code Review
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
---
<!--
This documentation is auto generated by a script.
2023-02-07 08:22:45 +00:00
Please do not edit this file directly. Run `make gen-docs` instead.
-->
# `glab label list`
List labels in repository
```plaintext
glab label list [flags]
```
2023-04-04 01:33:12 +00:00
## Aliases
```plaintext
ls
```
## Examples
```plaintext
glab label list
glab label ls
glab label list -R owner/repository
```
## Options
```plaintext
2024-03-07 06:08:07 +00:00
-F, --output string Format output as: text, json (default "text")
-p, --page int Page number (default 1)
-P, --per-page int Number of items to list per page (default 30)
```
## Options inherited from parent commands
```plaintext
--help Show help for command
-R, --repo OWNER/REPO Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
```