1
1
mirror of https://gitea.com/gitea/tea synced 2025-11-13 04:32:03 +01:00
tea/cmd
Valentin Brandl 4f513ca3e3 generate man page (#811)
[CLI.md](src/branch/main/docs/CLI.md) already gets generated using `urfave/cli-docs`. `cli-docs` can also generate man pages.

This change extends the doc generator to also generate a man page for `tea`.

* Add a subcommand to the doc generator to print the generated man page to stdout

Closes #777.

Co-authored-by: Valentin Brandl <mail@vbrandl.net>
Reviewed-on: https://gitea.com/gitea/tea/pulls/811
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: TheFox0x7 <thefox0x7@noreply.gitea.com>
Co-authored-by: Valentin Brandl <vbrandl@noreply.gitea.com>
Co-committed-by: Valentin Brandl <vbrandl@noreply.gitea.com>
2025-09-14 00:17:28 +00:00
..
admin/users Remove pagination from context (#807) 2025-08-26 23:13:27 +00:00
attachments Remove pagination from context (#807) 2025-08-26 23:13:27 +00:00
branches Remove pagination from context (#807) 2025-08-26 23:13:27 +00:00
flags Remove pagination from context (#807) 2025-08-26 23:13:27 +00:00
issues Remove pagination from context (#807) 2025-08-26 23:13:27 +00:00
labels Remove pagination from context (#807) 2025-08-26 23:13:27 +00:00
login Use bubbletea instead of survey for interacting with TUI (#786) 2025-08-11 18:23:52 +00:00
milestones Remove pagination from context (#807) 2025-08-26 23:13:27 +00:00
notifications Remove pagination from context (#807) 2025-08-26 23:13:27 +00:00
organizations Remove pagination from context (#807) 2025-08-26 23:13:27 +00:00
pulls Fix bug (#793) 2025-08-15 02:38:45 +00:00
releases Remove pagination from context (#807) 2025-08-26 23:13:27 +00:00
repos feat: add validation for object-format flag in repo create command (#741) 2025-09-12 16:51:43 +00:00
times migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
admin.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
attachments.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
branches.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
categories.go spdx (#581) 2023-09-08 01:40:02 +00:00
clone.go add debug mode and update readme (#805) 2025-09-10 19:10:02 +00:00
cmd.go generate man page (#811) 2025-09-14 00:17:28 +00:00
comment.go Use bubbletea instead of survey for interacting with TUI (#786) 2025-08-11 18:23:52 +00:00
issues.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
labels.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
login.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
logout.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
man.go generate man page (#811) 2025-09-14 00:17:28 +00:00
milestones.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
notifications.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
open.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
organizations.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
pulls.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
releases.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
repos.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
times.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00
whoami.go migrate tea to urfave v3 (#760) 2025-06-10 05:19:59 +00:00