glab-milestone-list - Get a list of milestones for a project or group.
glab milestone list [flags]
Get a list of milestones for a project or group.
|
--group="" |
The ID or URL-encoded path of the group. | ||
|
--include-ancestors[=false] |
Include milestones from all parent groups. | ||
|
-p, --page=1 |
Page number. | ||
|
-P, --per-page=20 |
Number of items to list per page. | ||
|
--project="" |
The ID or URL-encoded path of the project. | ||
|
--search="" |
Return only milestones with a title or description matching the provided string. | ||
|
--show-id[=false] |
Show IDs in table output. | ||
|
--state="" |
Return only ’active’ or ’closed’ milestones. | ||
|
--title="" |
Return only the milestones having the given title. |
|
-h, --help[=false] |
Show help for this command. | ||
|
-R, --repo="" |
Select another repository. Can use either OWNER/REPO or GROUP/NAMESPACE/REPO format. Also accepts full URL or Git URL. |
# List
milestones for a given project
$ glab milestone list --project 123
$ glab milestone list --project
example-group/project-path
# List
milestones for a group
$ glab milestone list --group example-group
# List only
active milestones for a given group
$ glab milestone list --group example-group --state
active
glab-milestone(1)