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

Update a node's icon field from pyproject.toml when publishing #88

Closed robinjhuang closed 1 month ago

robinjhuang commented 1 month ago

Currently the comfy node publish command doesn't send the icon field to the registry API.

Requirements:

Tips: Modify the publish_node_version function to take a icon field. You can add a icon field to the PyProjectConfig dataclass. Code Update the extract_node_configuration function to return the icon field from pyproject.toml. Code

robinjhuang commented 1 month ago

Anyone want to help with this one?

ryphon commented 1 month ago

Also, Icon was already in the ComfyConfig (and config parser), it just wasn't being passed via the requests post body.