Workflow Commands¶
Workflow commands inspect saved ComfyUI workflows, resolve dependencies, and manage workflow-level model declarations.
List And Resolve¶
resolve analyzes workflow JSON, maps custom nodes to packages, matches model
references to the model index, and records dependency metadata in the manifest.
Workflow Models¶
List models declared for a workflow:
Declare an already-indexed local model as a workflow dependency:
cg workflow model add WORKFLOW --path RELATIVE_MODEL_PATH [--importance required|flexible|optional]
cg workflow model add WORKFLOW --hash HASH [--importance required|flexible|optional]
Remove a manually declared workflow model:
cg workflow model remove WORKFLOW --path RELATIVE_MODEL_PATH
cg workflow model remove WORKFLOW --hash HASH
Change model importance:
Use importance in user-facing docs. It maps to model criticality in the
manifest.