mirror of
https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare.git
synced 2025-02-18 04:30:53 +01:00
* introduced CommandConfig object * added dry_run for start command * added test to start_dry_run * added dry_run recap * fixed import * improved printing * fixed zulip debug info * improved recap dry-run print
14 lines
434 B
Python
14 lines
434 B
Python
from typing import Iterator
|
|
|
|
import mobilizon_reshare.config.notifiers
|
|
import mobilizon_reshare.config.publishers
|
|
from mobilizon_reshare.config.config import get_settings
|
|
|
|
|
|
def get_active_publishers() -> Iterator[str]:
|
|
return mobilizon_reshare.config.publishers.get_active_publishers(get_settings())
|
|
|
|
|
|
def get_active_notifiers() -> Iterator[str]:
|
|
return mobilizon_reshare.config.notifiers.get_active_notifiers(get_settings())
|