Skip to content

cm-cli.py :specify commit ID /tag or branch when installing nodes and add 'exit-on-fail' parameter to control failure behavior #1728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

VitoChenLY
Copy link
Contributor

Details:

The @@ delimiter allows users to specify a specific commit ID, tag, or branch for the node installation.

This feature enhances flexibility by enabling users to install nodes from specific versions of a repository.

Add 'exit-on-fail' parameter to control failure behavior

Example:

Install a node from a specific branch:

python3 cm-cli.py install [email protected]:evanspearman/ComfyMath.git@@main

Install a node from a specific tag:

python3 cm-cli.py install https://github.com/Nourepide/ComfyUI-Allor.git@@v1.0.0

Install a node from a specific commit ID:
python3 cm-cli.py install [email protected]:evanspearman/ComfyMath.git@@2ee689

The exit_on_fail parameter determines whether the process should exit when an action fails.

python3 cm-cli.py install --exit-on-fail [email protected]:evanspearman/ComfyMath.git@@rag https://github.com/Nourepide/ComfyUI-Allor.git@@2ee689
Impact:
This change improves the usability of the cm-cli.py script by allowing users to install nodes from specific versions of repositories, rather than always using the default branch. Parameter '--exit-on-fail' enhances the flexibility of the cm-cli.py by allowing users to control the behavior when an action fails, without forcing an immediate exit.

@VitoChenLY VitoChenLY closed this May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant