mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 01:45:59 +02:00
gh-repo: add examples for list subcommand (#5358)
This commit is contained in:
parent
1722117f90
commit
55d5388578
1 changed files with 12 additions and 0 deletions
|
@ -18,3 +18,15 @@
|
||||||
- View a repository in the web browser:
|
- View a repository in the web browser:
|
||||||
|
|
||||||
`gh repo view {{repository}} --web`
|
`gh repo view {{repository}} --web`
|
||||||
|
|
||||||
|
- List repositories owned by a specific user or organization (if the owner is not set, the default owner will be the currently logged in user):
|
||||||
|
|
||||||
|
`gh repo list {{owner}}`
|
||||||
|
|
||||||
|
- List only non-forks repositories:
|
||||||
|
|
||||||
|
`gh repo list {{owner}} --non-forks`
|
||||||
|
|
||||||
|
- List repositories with a specific primary coding language:
|
||||||
|
|
||||||
|
`gh repo list {{owner}} --language {{language_name}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue