feat: 添加多格式报告导出和浏览器打开功能 #9
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 功能说明
本 PR 为 code996 添加了强大的报告导出和分享功能。
✨ 新增功能
1. 多格式报告导出 (
--format/-f)支持导出为 5 种精美格式:
2. 浏览器打开 (
--open/-o)3. Vercel URL 生成
🎨 样式优化
HTML 报告
Markdown 报告
TXT 报告
SVG/PNG 报告
📦 技术实现
依赖更新
代码结构
测试覆盖
📖 使用示例
📄 文档更新
✅ 测试结果
🔍 变更文件
📸 效果预览
生成的报告文件保存在当前工作目录:
特别说明
感谢您审阅此 PR!如有任何问题或建议,请随时提出。🙏