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:
@@ -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__ = [
|
||||
|
||||
Reference in New Issue
Block a user