feat: add environment variable support to CLI and backend metadata

- Update CLI to use configurable app name and version from settings
- Make backend package metadata configurable via environment variables
- Add CONTACT_EMAIL environment variable support
- Ensure consistent branding across CLI, API, and web interface
This commit is contained in:
William Valentin
2025-09-14 15:57:25 -07:00
parent 5eee1beb8d
commit f3b3562e6a
2 changed files with 8 additions and 5 deletions

View File

@@ -11,9 +11,11 @@ The backend is designed to be modular and can be used both as a standalone
library and as part of the web application.
"""
__version__ = "1.1.0"
import os
__version__ = os.getenv("APP_VERSION", "1.1.0")
__author__ = "UnitForge Team"
__email__ = "contact@unitforge.dev"
__email__ = os.getenv("CONTACT_EMAIL", "contact@unitforge.dev")
# Package metadata
__all__ = [