Use click to launch application
MODIFY
main.py
main.py
#!/usr/bin/env python3
-from plex_trakt_sync.main import main
+from plex_trakt_sync.cli import cli
if __name__ == "__main__":
- main()
+ cli()

ADD
plex_trakt_sync/cli.py
+import click
+from plex_trakt_sync.main import main
+
+
+@click.command()
+def cli():
+ """
+ Plex-Trakt-Sync is a two-way-sync between trakt.tv and Plex Media Server
+ """
+
+ main()

Use click to launch application