Skip to content

v0.2.0 - Auto-update from GitHub

Choose a tag to compare

@calionauta calionauta released this 06 Mar 13:11

✨ New Features

--update Flag

Check for updates and auto-update from GitHub with a single command!

starhtml-check --update

Features:

  • Compares SHA256 hash to detect changes
  • Creates automatic backup (.bak file) 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