git-bug/doc/md/git-bug_ls.md

45 lines
1.2 KiB
Markdown
Raw Normal View History

2018-07-20 16:46:14 +03:00
## git-bug ls
List bugs.
2018-07-20 16:46:14 +03:00
### Synopsis
Display a summary of each bugs.
2018-07-20 16:46:14 +03:00
You can pass an additional query to filter and order the list. This query can be expressed either with a simple query language or with flags.
```
git-bug ls [<query>] [flags]
2018-07-20 16:46:14 +03:00
```
### Examples
```
List open bugs sorted by last edition with a query:
git bug ls status:open sort:edit-desc
List closed bugs sorted by creation with flags:
git bug ls --status closed --by creation
2018-07-20 16:46:14 +03:00
```
### Options
```
-s, --status strings Filter by status. Valid values are [open,closed]
-a, --author strings Filter by author
-p, --participant strings Filter by participant
-A, --actor strings Filter by actor
-l, --label strings Filter by label
-t, --title strings Filter by title
-n, --no strings Filter by absence of something. Valid values are [label]
-b, --by string Sort the results by a characteristic. Valid values are [id,creation,edit] (default "creation")
-d, --direction string Select the sorting direction. Valid values are [asc,desc] (default "asc")
-h, --help help for ls
2018-07-20 16:46:14 +03:00
```
### SEE ALSO
* [git-bug](git-bug.md) - A bug tracker embedded in Git.
2018-07-20 16:46:14 +03:00