mirror of
https://git.zavage.net/Zavage-Software/smileyface.git
synced 2026-06-25 18:12:48 -06:00
Drop the config.spec/configobj configuration in favour of an AppSettings pydantic-settings model (settings.py) loaded from SMILEYFACE_-prefixed env vars or a .env file. Introduce AppContext (context.py) to carry settings plus logging, dispatch commands through a Click CLI (cli.py), and centralise log setup (logging_setup.py). Update hub_machine, datalayer, and scraping modules to consume the new context. Add .env.example and ignore .env. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| datalayer | ||
| scrape_latest | ||
| __init__.py | ||
| _util.py | ||
| app.py | ||
| cli.py | ||
| context.py | ||
| gameconfig_edit.py | ||
| hub_machine.py | ||
| logging_setup.py | ||
| myutil.py | ||
| server_onoff.py | ||
| server_upload.py | ||
| settings.py | ||
| structs.py | ||