Files
CmdForge/src/cmdforge/web/__init__.py
T
robandClaude Opus 4.5 497fe87fc5 Rename project from SmartTools to CmdForge
Major rename operation:
- Rename Python package: smarttools -> cmdforge
- Update CLI entry point: smarttools -> cmdforge
- Update all imports and module references
- Update pyproject.toml with new name, URLs, entry point
- Update all HTML templates with new branding
- Update documentation (CLAUDE.md, README.md, docs/*, wiki/*)
- Update environment variables:
  - SMARTTOOLS_ENV -> CMDFORGE_ENV
  - SMARTTOOLS_REGISTRY_DB -> CMDFORGE_REGISTRY_DB
  - SMARTTOOLS_TOKEN -> CMDFORGE_TOKEN
  - SMARTTOOLS_REGISTRY_* -> CMDFORGE_REGISTRY_*
- Update Dockerfile and docker-compose.yml
- Update tests to use new package name
- Update scripts and examples
- Update package.json and tailwind.config.js

All 158 unit tests pass. The CLI is working correctly with the
new cmdforge command.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-02 22:15:55 -04:00

16 lines
377 B
Python

"""Web UI blueprint for CmdForge."""
import os
from flask import Blueprint
# Use absolute paths for templates and static folders
_pkg_dir = os.path.dirname(os.path.abspath(__file__))
web_bp = Blueprint(
"web",
__name__,
template_folder=os.path.join(_pkg_dir, "templates"),
static_folder=os.path.join(_pkg_dir, "static"),
static_url_path="/web-static",
)