Comfy-Org / comfy-cli

Command Line Interface for Managing ComfyUI

Home Page:https://docs.comfy.org/comfy-cli/getting-started

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add option `-y` to support auto installation?

liusida opened this issue · comments

I was trying to write a script to automatically use comfy-cli to install comfyUI. But I got stuck here:

(comfy-cli) PS E:\> comfy --workspace=E:/comfy-2 install --nvidia
Install from https://github.com/comfyanonymous/ComfyUI to E:\comfy-2? [y/N]: Aborted.
(comfy-cli) PS E:\> comfy --workspace=E:/comfy-2 install --nvidia -y
Usage: comfy install [OPTIONS]
Try 'comfy install --help' for help.
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ No such option: -y                                                                                                   │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

How could i avoid pressing this Y key?

try comfy -y --workspace=E:/comfy-2 install --nvidia

#47

And you can use --skip-prompt

yes! --skip-prompt works~ Sorry didn't notice that in document xD