Global Commands¶
Workspace-level commands that operate on the entire ComfyGit workspace.
init¶
Usage:
Arguments:
path- Workspace directory (default: ~/comfygit) (optional)
Options:
--models-dir- Path to existing models directory to index--yes, -y- Use all defaults, no interactive prompts (default:False)
list¶
Usage:
import¶
Usage:
Arguments:
path- Path to .tar.gz file or git repository URL (use #subdirectory for subdirectory imports) (optional)
Options:
--name- Name for imported environment (skip prompt)--branch, -b- Git branch, tag, or commit to import (git imports only)--torch-backend- PyTorch backend. Examples: auto (detect GPU), cpu, cu128 (CUDA 12.8), cu126, cu124, rocm6.3 (AMD), xpu (Intel). Default: auto (default:auto)--use- Set imported environment as active (default:False)-y, --yes- Skip confirmation prompts, use defaults for workspace initialization (default:False)
export¶
Usage:
Arguments:
path- Path to output file (optional)
Options:
--allow-issues- Skip confirmation if models are missing source URLs (default:False)
model¶
Usage:
Subcommands¶
index¶
Usage:
Subcommands¶
find¶
Usage:
Arguments:
query- Search query (hash prefix or filename)
list¶
Usage:
Options:
--duplicates- Show only models with multiple locations (default:False)
show¶
Usage:
Arguments:
identifier- Model hash, hash prefix, filename, or path
status¶
Usage:
sync¶
Usage:
dir¶
Usage:
Arguments:
path- Path to models directory
download¶
Usage:
Arguments:
url- Model download URL (Civitai, HuggingFace, or direct)
Options:
--path- Target path relative to models directory (e.g., checkpoints/model.safetensors)-c, --category- Model category for auto-path (e.g., checkpoints, loras, vae)-y, --yes- Skip path confirmation prompt (default:False)
add-source¶
Usage:
Arguments:
model- Model filename or hash (omit for interactive mode) (optional)url- Download URL (optional)
registry¶
Usage:
Subcommands¶
status¶
Usage:
update¶
Usage:
config¶
Usage:
Options:
--civitai-key- Set Civitai API key (use empty string to clear)--uv-cache- Set external UV cache path (use empty string to clear)--show- Show current configuration (default:False)
debug¶
Usage:
Options:
-n, --lines- Number of lines to show (default: 200) (default:200)--level- Filter by log level (choices:DEBUG,INFO,WARNING,ERROR)--full- Show all logs (no line limit) (default:False)--workspace- Show workspace logs instead of environment logs (default:False)
orch (alias: orchestrator)¶
Manage the ComfyUI orchestrator process.
Usage:
Subcommands¶
status¶
Show orchestrator status.
Usage:
Options:
--json- Output as JSON (default:False)
restart¶
Restart ComfyUI.
Usage:
Options:
--wait- Wait for restart to complete (default:False)
kill¶
Shutdown orchestrator.
Usage:
Options:
--force- Force kill (bypass command queue) (default:False)
clean¶
Clean orchestrator state.
Usage:
Options:
--dry-run- Show what would be deleted (default:False)--force- Skip confirmation (default:False)--kill- Also kill orchestrator process (default:False)
logs¶
Show orchestrator logs.
Usage:
Options:
-f, --follow- Follow logs in real-time (default:False)-n, --lines- Number of lines to show (default: 50) (default:50)
workspace¶
Workspace management operations.
Usage:
Subcommands¶
cleanup¶
Remove legacy workspace artifacts.
Usage:
Options:
--force- Skip verification and force cleanup (default:False)