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> |
||
|---|---|---|
| .. | ||
| themes | ||
| cli.py | ||
| converter.py | ||
| image_gen.py | ||
| publisher.py | ||
| theme.py | ||
| wechat_api.py | ||