Skip to content

mw gitlab repo list

Releasev0.35.0 · cfeceb67

mw gitlab repo list [flags]

Get list of repositories.

-a, --all
List all projects on the instance.
--archived
Limit by archived status. Use 'false' to exclude archived repositories. Used with the '--group' flag.
-g, --group <string>
Return repositories in only the given group.
-G, --include-subgroups
Include projects in subgroups of this group. Default is false. Used with the '--group' flag.
--member
List only projects of which you are a member.
-m, --mine
List only projects you own. Default if no filters are provided.
-o, --order <string>
Return repositories ordered by id, name, path, created_at, updated_at, similarity, star_count, last_activity_at. Default: last_activity_at.
-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.
-s, --sort <string>
Sort direction for --order field: asc or desc.
--starred
List only starred projects.
-u, --user <string>
List user projects.
-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
$ glab repo list
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.