Comfy-Org / comfy-cli

Command Line Interface for Managing ComfyUI
https://comfydocs.org/comfy-cli/getting-started
GNU General Public License v3.0
123 stars 15 forks source link

Add `comfy run` command #80

Closed pythongosssss closed 3 weeks ago

pythongosssss commented 1 month ago

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)

yoland68 commented 1 month ago

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