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]>
16 lines
377 B
Python
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",
|
|
)
|