2018-07-20 16:46:14 +03:00
|
|
|
## git-bug ls
|
|
|
|
|
2019-02-24 16:46:08 +03:00
|
|
|
List bugs.
|
2018-07-20 16:46:14 +03:00
|
|
|
|
|
|
|
### Synopsis
|
|
|
|
|
2018-09-10 19:16:16 +03:00
|
|
|
Display a summary of each bugs.
|
2018-07-20 16:46:14 +03:00
|
|
|
|
2018-09-10 19:16:16 +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
|
|
|
```
|
2018-09-10 19:16:16 +03:00
|
|
|
|
|
|
|
### Examples
|
|
|
|
|
|
|
|
```
|
|
|
|
List open bugs sorted by last edition with a query:
|
2018-09-19 22:50:03 +03:00
|
|
|
git bug ls status:open sort:edit-desc
|
2018-09-10 19:16:16 +03:00
|
|
|
|
|
|
|
List closed bugs sorted by creation with flags:
|
|
|
|
git bug ls --status closed --by creation
|
|
|
|
|
2018-07-20 16:46:14 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
### Options
|
|
|
|
|
|
|
|
```
|
2019-04-11 21:04:44 +03:00
|
|
|
-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
|
|
|
|
|
2019-02-24 16:46:08 +03:00
|
|
|
* [git-bug](git-bug.md) - A bug tracker embedded in Git.
|
2018-07-20 16:46:14 +03:00
|
|
|
|