Commit Graph

2 Commits

Author SHA1 Message Date
2f1b2591c6 fix(cmdline): make cmdline work without PIL dependency
- Refactor controller to not require importing engine.layers (which imports PIL)
- Add set_effect_chain_ref for external chain registration
- Fix cmdline to use new ref mechanism
2026-03-15 17:35:00 -07:00
b86434ac03 feat(cmdline): add command-line interface for mainline control
Add cmdline.py utility for interacting with mainline:
- Interactive TUI mode (default when no args)
- Local command mode (--local) for testing without ntfy
- Send commands via ntfy (default)
- Watch mode (-w) for continuous stats polling

Usage:
  python cmdline.py                    # Interactive mode
  python cmdline.py --local /effects list
  python cmdline.py /effects stats     # Send via ntfy
  python cmdline.py -w /effects stats  # Watch mode
2026-03-15 17:31:13 -07:00