Register webhook command
MODIFY
plex_trakt_sync/cli.py
plex_trakt_sync/cli.py
from plex_trakt_sync.commands.sync import sync
from plex_trakt_sync.commands.trakt_login import trakt_login
from plex_trakt_sync.commands.watch import watch
+from plex_trakt_sync.commands.webhook import webhook
@click.group(invoke_without_command=True)
@@ -26,3 +27,4 @@ def cli(ctx):
cli.add_command(sync)
cli.add_command(trakt_login)
cli.add_command(watch)
+cli.add_command(webhook)

ADD
plex_trakt_sync/commands/webhook.py
+import click
+
+
+@click.command()
+def webhook():
+ """
+ Listen for WebHook data from HTTP
+ """
+ pass

Register webhook command