# gh repo | issue list --all
### References
- https://github.com/cli/cli/issues/277
- https://cli.github.com/manual/gh_repo_list
---
### `gh my ...`
##### Pros:
- is cute
```bash
gh my pr list ...
gh my issue list ...
```
---
### `gh @<username>`
##### Pros:
- maintains noun-first approach
```bash
gh @mona pr list ...
gh @mona issue list ...
gh alias set my-issues "gh @mona issue list"
gh my-issues
```
### `gh user [--login <username>] ...`
```shell
gh user issue list # list current user's issues
gh user issue list --login mona # list mona (presumably not the current user)'s issues
```
---
### `gh search`
- could we eventually read from `stdin`???
- could pipe results to other subcommands
```bash
gh search "..."
gh search "..." | gh issue list # filter out issues & list
gh search "..." | gh pr list # filter out repos & list
gh search "..." | gh issue close # close issues
gh search "..." | gh repo archive # archive repos
gh search "..." --json | jq . | ...
```
---
### `gh repo list --all`
```bash
gh repo list --all # gets all contexts of repos/orgs???
```