comfy-cli icon indicating copy to clipboard operation
comfy-cli copied to clipboard

Add `comfy run` command

Open pythongosssss opened this issue 1 year ago • 1 comments

Adds comfy run --workflow {file}, allowing you to run API workflows from the cli using the comfy cli background instance.

Arguments: --workflow - The workflow API JSON to run --[no-]wait - If the execution should be awaited or just queued and exits, default True --verbose - If additional node execution logs should be output, default False

Outputs list of files that were generated during the run image

Adds the websocket-client package for handling workflow execution messages.

Tested on Windows & WSL 2 (Ubuntu)

pythongosssss avatar May 21 '24 18:05 pythongosssss

Oh sick! You even added socket for progress update! Good stuff!

yoland68 avatar May 22 '24 16:05 yoland68