0e54bae0c4
migrate tea to urfave v3 ( #760 )
...
I tested this somewhat, but I haven't been using the cli before so I'm not sure if there are changes - there shouldn't be though.
Reviewed-on: https://gitea.com/gitea/tea/pulls/760
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com >
Co-committed-by: TheFox0x7 <thefox0x7@gmail.com >
2025-06-10 05:19:59 +00:00
b868d30434
spdx ( #581 )
...
Co-authored-by: techknowlogick <hello@techknowlogick.com >
Co-committed-by: techknowlogick <hello@techknowlogick.com >
2023-09-08 01:40:02 +00:00
9efee7bf99
Add tea issues --fields
, allow printing labels ( #312 )
...
generalize list printing with dynamic fields
refactor print.IssuesList to use tableFromItems()
preparatory refactor
print.IssuesList: allow printing labels
move formatters to formatters.go
expose more printable fields on issue
add generic flags.FieldsFlag
add fields flag to tea issues, tea ms issues
validate provided fields
add strict username, or formatted user fields
change default fields
tea issues -> replace updated with labels
tea ms issues -> replace author with labels, reorder
Validate provided fields
Co-authored-by: Norwin Roosen <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/312
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 >
2020-12-21 23:41:07 +08:00
6ea331ce3b
improve formatting of tea repos
( #223 )
...
make fmt
code review
use OutputMarkdown
use FormatTime()
improved repo printing
- ReposList() now allows selection of fields
- RepoDetail() uses glamour and provides more details
Co-authored-by: Norwin Roosen <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/223
Reviewed-by: 6543 <6543@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-Authored-By: Norwin <noerw@noreply.gitea.io >
Co-Committed-By: Norwin <noerw@noreply.gitea.io >
2020-10-10 01:17:31 +00:00
a4b792e24d
fix repo listing ( #222 )
...
fix type filter flag
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Norwin Roosen <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/222
Reviewed-by: 6543 <6543@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-10-06 13:09:33 +00:00
cbd1bccbf9
Add tea repos search
, improve repo listing ( #215 )
...
Merge branch 'master' into add-repo-search-improve-listing-closes-#210
Merge branch 'master' into add-repo-search-improve-listing-closes-#210
fixup! repos list: client side filtering for repo type
fix --private flag
repos list: client side filtering for repo type
repos list: listing of starred repos
repos search: rename --mode to --type
repo search: prioritize own user
UX tradeoff between usefulness & response speed
fix -O owner flag filter
rework repo list, add repo search
repo search is mostly the old behaviour of repo list
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Norwin Roosen <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/215
Reviewed-by: 6543 <6543@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-10-06 08:05:22 +00:00