Add watch command to listen for Plex events
MODIFY
plex_trakt_sync/cli.py
plex_trakt_sync/cli.py
import click
from plex_trakt_sync.commands.clear_collections import clear_collections
from plex_trakt_sync.commands.sync import sync
+from plex_trakt_sync.commands.watch import watch
@click.group(invoke_without_command=True)
@@ -15,3 +16,4 @@ def cli(ctx):
cli.add_command(sync)
cli.add_command(clear_collections)
+cli.add_command(watch)

ADD
plex_trakt_sync/commands/watch.py
+import click
+
+
+@click.command()
+def watch():
+ """
+ Listen to events from Plex
+ """
+
+ print("Listening for events")

Add watch command to listen for Plex events