TheFox0x7
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
techknowlogick
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
Norwin
1e59dee685
Add tea org create <name>
( #420 )
...
fixes #287 , fixes #363
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/420
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io >
2021-09-29 04:32:16 +08:00
Norwin
568fde1ce5
Add missing flags to org & labels subcommands ( #357 )
...
The `tea orgs` command is an alias to `tea orgs list`, and as such should have the same flags.
fixes #354
Co-authored-by: Norwin Roosen <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/357
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-05-13 02:32:20 +08:00
Norwin
43a58bdba1
Proper help text & new README structure ( #311 )
...
add cli.AppHelpTemplate for customization
customize tea help view
tea --version : improve parseability
Rework README to include tea help output
It's an antipattern to have different help texts aimed at the same
users. So now that we have a good cli help text, lets use it here.
This eases maintenance, and at the same time gives an honest impression
on what we have to offer, while also encouraging to improve the internal
help text in the future.
I feel a bit sad for the GIF, but it was becoming outdated anyway..
group commands by category
add new demo gif
shows the (probably) most useful workflow
readme improvement
Merge branch 'master' into improve-app-help
code review
Merge branch 'master' into improve-app-help
restructure installation section
Co-authored-by: Norwin Roosen <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/311
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: khmarbaise <khmarbaise@noreply.gitea.io >
Co-Authored-By: Norwin <noerw@noreply.gitea.io >
Co-Committed-By: Norwin <noerw@noreply.gitea.io >
2020-12-21 21:37:20 +08:00
Norwin
a948fd7e10
Refactor error handling ( #308 )
...
use fmt instead of log
log.Fatal -> return err
set non-zero exit code on error
print to default err log
cleanup
fix vet
Co-authored-by: Norwin Roosen <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/308
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-17 00:18:10 +08:00
khmarbaise
16df81ac94
Add organization delete command ( #270 )
...
Added organization delete command.
Fix #269
Signed-off-by: Karl Heinz Marbaise <kama@soebes.de >
Supplemental check for response.
Co-authored-by: Karl Heinz Marbaise <kama@soebes.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/270
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-Authored-By: khmarbaise <khmarbaise@noreply.gitea.io >
Co-Committed-By: khmarbaise <khmarbaise@noreply.gitea.io >
2020-12-07 20:24:04 +08:00
khmarbaise
7d486c2ec6
tea organizations list command ( #264 )
...
Introduce tea organizations list command (#263 )
Fix #263
Add missing pagination options missing as suggest by reviewers. (#263 )
Signed-off-by: Karl Heinz Marbaise <kama@soebes.de >
Co-authored-by: Karl Heinz Marbaise <kama@soebes.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/264
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-Authored-By: khmarbaise <khmarbaise@noreply.gitea.io >
Co-Committed-By: khmarbaise <khmarbaise@noreply.gitea.io >
2020-12-07 06:02:50 +08:00