1
0
Fork 0
forgejo/docs/content/doc/administration
wxiaoguang 1ce51a55e3
Improve "gitea doctor" sub-command and fix "help" commands (#26072)
Replace #21790

And close #25965 by the way (it needs a separate fix for 1.20)

Major changes:

1. Move "gitea convert" to "gitea doctor conver". The old "gitea doctor"
still works as a hidden sub-command (to avoid breaking)
2. Do not write "doctor.log" by default, it's not useful in most cases
and causes bugs like 25965
3. Improve documents
4. Fix the "help" commands. Before, the "./gitea doctor" can't show the
sub-command help correctly (regression of the last cli/v2 refactoring)

After this PR:

```
./gitea help # show all sub-commands for the app
./gitea doctor # show the sub-commands for the "doctor"
./gitea doctor help # show the sub-commands for the "doctor", as above
```
2023-07-25 14:38:27 +00:00
..
_index.en-us.md
_index.zh-cn.md
_index.zh-tw.md
adding-legal-pages.en-us.md
adding-legal-pages.zh-cn.md
backup-and-restore.en-us.md Update path related documents (#25417) 2023-07-19 11:22:57 +02:00
backup-and-restore.zh-cn.md
backup-and-restore.zh-tw.md
cmd-embedded.en-us.md Move public asset files to the proper directory (#25907) 2023-07-18 18:06:43 +02:00
cmd-embedded.zh-cn.md
command-line.en-us.md Improve "gitea doctor" sub-command and fix "help" commands (#26072) 2023-07-25 14:38:27 +00:00
command-line.zh-cn.md Improve "gitea doctor" sub-command and fix "help" commands (#26072) 2023-07-25 14:38:27 +00:00
config-cheat-sheet.en-us.md Refactor to use urfave/cli/v2 (#25959) 2023-07-21 17:28:19 +08:00
config-cheat-sheet.zh-cn.md Fix all possible setting error related storages and added some tests (#23911) 2023-06-14 11:42:38 +08:00
customizing-gitea.en-us.md Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 2023-07-21 12:14:20 +00:00
customizing-gitea.zh-cn.md Change branch name from master to main in some documents' links (#25126) 2023-06-08 07:35:55 +00:00
email-setup.en-us.md
email-setup.zh-cn.md
environment-variables.en-us.md Update path related documents (#25417) 2023-07-19 11:22:57 +02:00
environment-variables.zh-cn.md
external-renderers.en-us.md Move public asset files to the proper directory (#25907) 2023-07-18 18:06:43 +02:00
external-renderers.zh-cn.md
fail2ban-setup.en-us.md
fail2ban-setup.zh-cn.md
git-lfs-support.en-us.md
git-lfs-support.zh-cn.md
https-support.en-us.md
https-support.zh-cn.md
logging-config.en-us.md
logging-config.zh-cn.md
mail-templates.en-us.md
mail-templates.zh-cn.md
repo-indexer.en-us.md
repo-indexer.zh-cn.md
reverse-proxies.en-us.md
reverse-proxies.zh-cn.md
search-engines-indexation.en-us.md
search-engines-indexation.zh-cn.md
signing.en-us.md
signing.zh-cn.md