Add `wp db status` command for quick database health overview
还没有人认领这个 Issue。
评估
这个 Issue 还没有评估数据。
描述
I would like to suggesta new WP-CLI command: wp db status
The command would provide a concise, read-only overview of the current WordPress database health and configuration in a single output, reducing the need to run multiple separate commands.
For support, debugging, and hosting diagnostics, it would be beneficial to have a single, non-destructive command that aggregates key database information into one quick report.
Currently, checking database status requires running several commands such as: wp db size, wp db tables, wp db prefix, wp db check, etc.
My Proposed Command:
wp db status
Output Example:
Database Name: wp_mehrazmorshed
Tables: 54
Total Size: 312 MB
Prefix: wp_
Engine: InnoDB
Charset: utf8mb4
Collation: utf8mb4_unicode_ci
Check Status: OK
- 主要语言
- PHP
- 星标
- 76
- 派生
- 73
- 平均合并
- 9 小时 31 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wp-cli/db-command 的其他 Issue
-
command:db-size scope:documentation
难度 3/5 1-2 天 新手友好度 65/100
wp-cli/db-command#348 · 1 条评论 ·
-
query shouldn't require mysql/mariadb cli tools可能已有人在做 @swissspidy 于 183 天前认领。 未关闭bug command:db-query
wp-cli/db-command#319 · 5 条评论 · 1 个 reaction · 已指派 2 人 ·
-
bug command:db-export
难度 3/5 1-2 天 新手友好度 45/100
wp-cli/db-command#289 · 2 条评论 ·
-
command:db-export command:db-import scope:distribution state:unconfirmed
难度 5/5 一周以上 新手友好度 25/100
wp-cli/db-command#327 · 8 条评论 · 2 个 reaction ·
-
command:db command:db-search
难度 3/5 1-2 天 新手友好度 35/100
wp-cli/db-command#156 · 1 条评论 · 20 个 reaction ·
查看 wp-cli/db-command 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
filamentphp/filament#20630 ·
维护者通常 1 天内回复
-
needs-maintainer-review review:approve
难度 2/5 1-3 小时 新手友好度 68/100
Ultimate-Multisite/ultimate-ai-connector-compatible-endpoints#163 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100