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

`Comfy Node Init` fails if pyproject.toml file already exists #121

Closed haohaocreates closed 2 months ago

haohaocreates commented 4 months ago

Describe the bug comfy node init command automatically fails when run inside custom node repos which already have a toml file,

To Reproduce

  1. Git clone any custom node repo that has toml file, for example comfyui-deploy
  2. Run comfy node init
  3. Get Warning: 'pyproject.toml' already exists. Will not overwrite.

Expected behavior

  1. Should only update fields that are not already in the pyproject

Nice to have image