comfy-cli
comfy-cli copied to clipboard
Update a node's icon field from pyproject.toml when publishing
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
Anyone want to help with this one?
Also, Icon was already in the ComfyConfig (and config parser), it just wasn't being passed via the requests post body.