Use enable_self_update from factory
This removes dependency of loading self-update command
MODIFY
plextraktsync/cli.py
plextraktsync/cli.py
import click
-from plextraktsync.commands.self_update import enable_self_update
from plextraktsync.factory import factory
CONFIG = factory.config
@@ -314,7 +313,7 @@ def config():
cli.add_command(inspect)
cli.add_command(login)
cli.add_command(plex_login)
-if enable_self_update():
+if factory.enable_self_update:
cli.add_command(self_update)
cli.add_command(subdl)
cli.add_command(sync)

Use enable_self_update from factory

This removes dependency of loading self-update command