- Fix form parameter handling for recipe_id (empty string vs None) - Remove interfering hx-on attributes from HTMX forms - Add explicit hx-swap="innerHTML" for proper content replacement - Implement global exception handler with detailed DEBUG logging - Add request middleware for comprehensive request/response logging - Enhanced modal closing logic with fallbacks - Add debug logging to recipe/button creation endpoints - Create error template for better error display - Update CLI to support --log-level per subcommand - Add CLAUDE.md with development guidelines and conventions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
305 B
Python
Executable File
16 lines
305 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Simple runner script for ECM Control
|
|
"""
|
|
|
|
import sys
|
|
import os
|
|
|
|
# Add src to Python path
|
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
|
|
|
|
# Import and run the main function
|
|
from ecm_control.__main__ import main
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(main()) |