Skip to content

Ignore file option #447

@m21-cerutti

Description

@m21-cerutti

Describe the solution you'd like
I would like an option to choose files I want to publish with comfy node publish, and it is documented.
My proposition would to make an --ignore-file option allowing like a .gitignore to choose the files we want to publish.
There is no documentation about it, even on the publish page.

Describe alternatives you've considered
There isn't, it is mandatory to use comfy-cli. And there is no documented mechanism to do that (whitelist or blacklist).

An other proposition would be to allow publish a zip directly, but it would be cumbersome to manage it on the developer side.

Additional context
The great side effect of this would would be to make it easier to use this command in CI context.
Like said in Comfy-Org/publish-node-action#9.
It would allow also to not depend on github action and open possibilites like Gitlab (would be great to opensource a docker file for it, the first step is cli).

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions