Add trakt login command
MODIFY
plex_trakt_sync/cli.py
plex_trakt_sync/cli.py
from plex_trakt_sync.commands.clear_collections import clear_collections
from plex_trakt_sync.commands.inspect import inspect
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
@@ -19,4 +20,5 @@ def cli(ctx):
cli.add_command(clear_collections)
cli.add_command(inspect)
cli.add_command(sync)
+cli.add_command(trakt_login)
cli.add_command(watch)

ADD
plex_trakt_sync/commands/trakt_login.py
+import click
+
+
+@click.command()
+def trakt_login():
+ """
+ Log in to Trakt Account to obtain Access Token.
+ """
+ pass

Add trakt login command