From 820435c4e4db6c584394d8fb887ca84732f9d63d Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Mon, 10 Feb 2025 15:36:56 -0800 Subject: [PATCH] Use keyword arguments for cm-cli. --- comfy_cli/command/custom_nodes/command.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comfy_cli/command/custom_nodes/command.py b/comfy_cli/command/custom_nodes/command.py index b536eaa..06001b8 100644 --- a/comfy_cli/command/custom_nodes/command.py +++ b/comfy_cli/command/custom_nodes/command.py @@ -392,7 +392,7 @@ def install( ), ] = None, fast_deps: Annotated[ - Optional[bool], + bool, typer.Option( "--fast-deps", show_default=False, @@ -649,7 +649,7 @@ def install_deps( execute_cm_cli( ["deps-in-workflow", "--workflow", workflow, "--output", tmp_path], channel, - mode, + mode=mode, ) deps_file = tmp_path @@ -689,7 +689,7 @@ def deps_in_workflow( execute_cm_cli( ["deps-in-workflow", "--workflow", workflow, "--output", output], channel, - mode, + mode=mode, )