Use main() click wrapper
MODIFY
plextraktsync/__main__.py
plextraktsync/__main__.py
)
sys.exit(2)
-from plextraktsync.cli import cli
+from plextraktsync.cli import main
-cli()
+main()

MODIFY
setup.cfg
setup.cfg
@@ -44,7 +44,7 @@ exclude =
[options.entry_points]
console_scripts =
- plextraktsync = plextraktsync.cli:cli
+ plextraktsync = plextraktsync.cli:main
[options.data_files]
. =

Use main() click wrapper