comfy-cli icon indicating copy to clipboard operation
comfy-cli copied to clipboard

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

Open robinjhuang opened this issue 1 year ago • 2 comments

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

Requirements:

  • Read icon field from pyproject.toml
  • Send field contents to API

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 avatar May 25 '24 21:05 robinjhuang

Anyone want to help with this one?

robinjhuang avatar May 25 '24 21:05 robinjhuang

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

ryphon avatar May 26 '24 02:05 ryphon