diff --git a/comfy_cli/cmdline.py b/comfy_cli/cmdline.py index dab22fc..3699ffe 100644 --- a/comfy_cli/cmdline.py +++ b/comfy_cli/cmdline.py @@ -76,7 +76,6 @@ def entry( bool | None, typer.Option( show_default=False, - is_flag=True, help="Execute from recent path", callback=g_exclusivity.validate, ), @@ -85,7 +84,6 @@ def entry( bool | None, typer.Option( show_default=False, - is_flag=True, help="Execute from current path", callback=g_exclusivity.validate, ), @@ -94,7 +92,6 @@ def entry( bool, typer.Option( show_default=False, - is_flag=True, help="Do not prompt user for input, use default options", ), ] = False, @@ -103,7 +100,6 @@ def entry( typer.Option( show_default=False, hidden=True, - is_flag=True, help="Enable tracking", ), ] = False, @@ -112,7 +108,6 @@ def entry( "--version", "-v", help="Print version and exit", - is_flag=True, ), ): if version: diff --git a/comfy_cli/command/custom_nodes/command.py b/comfy_cli/command/custom_nodes/command.py index 3291362..22a29d9 100644 --- a/comfy_cli/command/custom_nodes/command.py +++ b/comfy_cli/command/custom_nodes/command.py @@ -200,19 +200,16 @@ def restore_snapshot( pip_non_url: bool | None = typer.Option( default=None, show_default=False, - is_flag=True, help="Restore for pip packages registered on PyPI.", ), pip_non_local_url: bool | None = typer.Option( default=None, show_default=False, - is_flag=True, help="Restore for pip packages registered at web URLs.", ), pip_local_url: bool | None = typer.Option( default=None, show_default=False, - is_flag=True, help="Restore for pip packages specified by local paths.", ), ): diff --git a/pyproject.toml b/pyproject.toml index 84fdde0..de74e14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ dependencies = [ "ruff", "semver~=3.0.2", "tomlkit", - "typer>=0.9", + "typer>=0.12.4", "typing-extensions>=4.7", "uv", "websocket-client",