wewrite/toolkit
wangzhuc d6900fe85d feat(learn-theme): add CLI with argparse and terminal report
Replace the smoke-test main() with a proper argparse CLI that accepts
a URL and --name, validates the name, fetches + extracts + analyzes the
article, calls generate_theme_yaml(), and writes the YAML to
toolkit/themes/. Prints a human-readable theme report with color values
and typography. Adds `learn-theme` subcommand to toolkit/cli.py
(delegates to subprocess call of scripts/learn_theme.py).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:37:47 +08:00
..
themes 排版引擎大升级:CJK修复 + 外链脚注 + 暗黑模式 + 容器语法 + 16主题 + 画廊UI 2026-03-28 22:53:28 +08:00
cli.py feat(learn-theme): add CLI with argparse and terminal report 2026-04-01 12:37:47 +08:00
converter.py 排版引擎大升级:CJK修复 + 外链脚注 + 暗黑模式 + 容器语法 + 16主题 + 画廊UI 2026-03-28 22:53:28 +08:00
image_gen.py Rename media-agent → WeWrite 2026-03-26 22:18:38 +08:00
publisher.py fix: force UTF-8 encoding for WeChat draft/get response 2026-03-31 16:20:17 +08:00
theme.py Rename media-agent → WeWrite 2026-03-26 22:18:38 +08:00
wechat_api.py Initial release — 公众号文章全流程 AI Skill 2026-03-26 22:16:18 +08:00