Comfy-Org / comfy-cli

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

Request to Add --listen [IP] Parameter for launch command #187

Closed v2sh1t closed 2 months ago

v2sh1t commented 2 months ago

I would like to suggest adding the --listen [IP] parameter to the launch command. I believe that some users may not be willing to spend money on a new computer, and we might need to run it remotely. For example, I am running ComfyUI on a GPU cloud server because it offers better cost-effectiveness. Thx

v2sh1t commented 2 months ago

I reviewed the code and noticed that there is an extra variable in the launch function. Could you provide any documentation or usage guide for this extra variable?

ltdrdata commented 2 months ago

You can use comfy core cli args via -- Just enumerate extra args after --

comfy launch -- --listen 0.0.0.0