gitea-tea/cmd
Norwin a89f51f9ec Implement more issue filters (#400)
This adds new filters to `tea issues ls` and `tea pr ls`, made available in SDK 0.15:

```
--state value                 Filter by state (all|open|closed) (default: open)
--keyword value, -k value     Filter by search string
--labels value, -L value      Comma-separated list of labels to match issues against.
--milestones value, -m value  Comma-separated list of milestones to match issues against.
--author value, -A value
--assignee value, -a value
--mentions value, -M value
--from value, -F value        Filter by activity after this date
--until value, -u value       Filter by activity before this date
```

Note: I felt free to change parameter names as exposed by SDK & API, as the names exposed by them are partially bollocks (eg `mentioned_by`) and or inconsistent with usage in other commands (eg `tea times --until`)

fixes #376, related #323

Co-authored-by: Norwin <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/400
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2021-12-03 03:26:48 +08:00
..
flags Implement more issue filters (#400) 2021-12-03 03:26:48 +08:00
issues Implement more issue filters (#400) 2021-12-03 03:26:48 +08:00
labels Add missing flags (#369) 2021-06-22 22:23:09 +08:00
login Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
milestones Implement notification subcommands (#389) 2021-09-06 01:11:17 +08:00
notifications Implement notification subcommands (#389) 2021-09-06 01:11:17 +08:00
organizations Add `tea org create <name>` (#420) 2021-09-29 04:32:16 +08:00
pulls Implement more issue filters (#400) 2021-12-03 03:26:48 +08:00
releases Improve Documentation (#433) 2021-12-03 02:33:56 +08:00
repos Add `tea repo create-from-template` (#408) 2021-10-20 09:31:35 +08:00
times Implement notification subcommands (#389) 2021-09-06 01:11:17 +08:00
autocomplete.go Handle XDG directories with spaces in autocomplete commands (#383) 2021-07-24 00:14:23 +08:00
categories.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
clone.go Add `tea clone` (#411) 2021-10-18 20:09:27 +08:00
comment.go Allow editing multiline prompts with external text editor (#429) 2021-10-14 22:36:08 +08:00
issues.go Show issue reactions (#421) 2021-10-01 16:13:32 +08:00
labels.go Add missing flags to org & labels subcommands (#357) 2021-05-13 02:32:20 +08:00
login.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
logout.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
milestones.go Add `tea issues --fields`, allow printing labels (#312) 2020-12-21 23:41:07 +08:00
notifications.go Implement notification subcommands (#389) 2021-09-06 01:11:17 +08:00
open.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
organizations.go Add `tea org create <name>` (#420) 2021-09-29 04:32:16 +08:00
pulls.go Add `tea pr merge` (#348) 2021-03-18 03:56:05 +08:00
releases.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
repos.go Add `tea repo create-from-template` (#408) 2021-10-20 09:31:35 +08:00
times.go Improve `tea time` (#319) 2020-12-23 12:58:36 +08:00
whoami.go Add `tea whoami` command (#426) 2021-10-05 01:41:59 +08:00