1
0
mirror of https://gitea.com/gitea/tea.git synced 2024-12-21 08:35:06 +01:00
gitea-tea/modules/print
justusbunsi 3cf084cb96 PR listing: add --fields & expose additional fields ()
This PR adds the `--fields` flag to `tea pr ls` (), and exposes more fields specific to the `PullRequest` type:
```
   --fields value, -f value   Comma-separated list of fields to print.
                              Available values:
                              index,state,author,author-id,url,title,body,mergeable,base,base-commit,head,diff,patch,created,updated,deadline,assignees,milestone,labels,comments
                              (default: "index,title,state,author,milestone,updated,labels")

```

Co-authored-by: justusbunsi <61625851+justusbunsi@users.noreply.github.com>
Co-authored-by: Norwin <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/415
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io>
2021-09-29 04:36:33 +08:00
..
comment.go Update Changelog () 2021-03-12 20:44:41 +08:00
formatters.go PR listing: add --fields & expose additional fields () 2021-09-29 04:36:33 +08:00
issue.go PR listing: add --fields & expose additional fields () 2021-09-29 04:36:33 +08:00
label.go Add tea issues --fields, allow printing labels () 2020-12-21 23:41:07 +08:00
login.go Detect markdown line width, resolve relative URLs () 2021-03-12 20:28:46 +08:00
markdown.go Detect markdown line width, resolve relative URLs () 2021-03-12 20:28:46 +08:00
milestone.go Improved list output () 2020-12-10 06:04:36 +08:00
notification.go Implement notification subcommands () 2021-09-06 01:11:17 +08:00
organization.go Add tea org create <name> () 2021-09-29 04:32:16 +08:00
pull.go PR listing: add --fields & expose additional fields () 2021-09-29 04:36:33 +08:00
release.go Improved list output () 2020-12-10 06:04:36 +08:00
repo.go PR listing: add --fields & expose additional fields () 2021-09-29 04:36:33 +08:00
table.go PR listing: add --fields & expose additional fields () 2021-09-29 04:36:33 +08:00
times.go PR listing: add --fields & expose additional fields () 2021-09-29 04:36:33 +08:00