v0.2.0 - Auto-update from GitHub
✨ New Features
--update Flag
Check for updates and auto-update from GitHub with a single command!
starhtml-check --updateFeatures:
- Compares SHA256 hash to detect changes
- Creates automatic backup (
.bakfile) before updating - Fetches latest version from raw.githubusercontent.com
- Works from any global install location
🔧 Technical Changes
- Dynamic versioning with hatch-vcs (version from git tags)
- Added hashlib, shutil imports for update functionality
- Updated README.md and SKILL.md with --update documentation
- All recent error code checks (E017, E018, E019) included
- Removed --fix flag (only fixed walrus operator, not worth code weight)
- Removed --help-llm flag (redundant - docs already in SKILL.md)
- Removed starhtml_check alias (kebab-case only: starhtml-check)
📋 Installation
# Global install (macOS/Linux)
curl -L https://raw.githubusercontent.com/renatocaliari/starhtml-skill/main/starhtml_check.py \
-o /usr/local/bin/starhtml-check && chmod +x /usr/local/bin/starhtml-check
# Or user-local (no sudo)
curl -L https://raw.githubusercontent.com/renatocaliari/starhtml-skill/main/starhtml_check.py \
-o ~/.local/bin/starhtml-check && chmod +x ~/.local/bin/starhtml-check🔄 Updating
starhtml-check --update # Check and update to latest version📋 Commands
starhtml-check component.py # Full analysis
starhtml-check --summary f.py # Compact output (fewer tokens)
starhtml-check --code "..." # Analyze inline snippet
starhtml-check --update # Update from GitHub