1
0
mirror of https://gitea.com/gitea/tea.git synced 2024-06-16 06:25:25 +00:00
tea/cmd
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
..
flags replace flag globals, require context for commands (#291) 2020-12-16 01:38:22 +08:00
issues Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
labels Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
login Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
milestones Add interactive mode for tea milestone create (#310) 2020-12-18 02:50:07 +08:00
organizations Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
pulls Implement PR closing and reopening (#304) 2020-12-17 06:47:12 +08:00
releases Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
repos Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
times Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
autocomplete.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
categories.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
issues.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
labels.go Proper help text & new README structure (#311) 2020-12-21 21:37: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 Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
notifications.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
open.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
organizations.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
pulls.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
releases.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
repos.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
times.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00