Global Commands¶
Workspace-level commands that operate on the entire ComfyDock workspace.
init¶
Usage:
Arguments:
path- Workspace directory (default: ~/comfydock) (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)
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:
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)--show- Show current configuration (default:False)
logs¶
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)
completion¶
Usage:
Subcommands¶
install¶
Usage:
uninstall¶
Usage:
status¶
Usage: