[PR #2548] [MERGED] refactor(cli): move cm_cli to top-level package #2588

Closed
opened 2026-10-28 21:10:59 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/2548
Author: @ltdrdata
Created: 1/27/2026
Status: ✅ Merged
Merged: 1/27/2026
Merged by: @ltdrdata

Base: manager-v4 ← Head: refactor/cm-cli


📝 Commits (1)

  • a690dce refactor(cli): move cm_cli to top-level package and remove dead cli-only-mode

📊 Changes

9 files changed (+41 additions, -93 deletions)

View changed files

➕ cm_cli/__init__.py (+3 -0)
📝 cm_cli/__main__.py (+6 -32)
➖ comfyui_manager/cm_cli/__init__.py (+0 -0)
📝 comfyui_manager/glob/manager_core.py (+1 -1)
📝 comfyui_manager/legacy/manager_core.py (+1 -1)
📝 comfyui_manager/prestartup_script.py (+1 -1)
📝 docs/en/cm-cli.md (+13 -27)
📝 docs/ko/cm-cli.md (+13 -28)
📝 pyproject.toml (+3 -3)

📄 Description

Fixed an issue in manager-v4 where cm-cli failed to run due to an import error.

  • Move cm_cli from comfyui_manager/cm_cli/ to top-level cm_cli/ package
  • Convert relative imports to absolute imports
  • Remove non-functional cli-only-mode command (flag was never checked)
  • Update docs: python cm-cli.py → cm-cli entrypoint
  • Update prestartup snapshot restore to use -m cm_cli
  • Version bump to 4.1b1

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/ComfyUI-Manager/pull/2548 **Author:** [@ltdrdata](https://github.com/ltdrdata) **Created:** 1/27/2026 **Status:** ✅ Merged **Merged:** 1/27/2026 **Merged by:** [@ltdrdata](https://github.com/ltdrdata) **Base:** `manager-v4` ← **Head:** `refactor/cm-cli` --- ### 📝 Commits (1) - [`a690dce`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/a690dce7a4300c206a92a9e404182e3efad07329) refactor(cli): move cm_cli to top-level package and remove dead cli-only-mode ### 📊 Changes **9 files changed** (+41 additions, -93 deletions) <details> <summary>View changed files</summary> ➕ `cm_cli/__init__.py` (+3 -0) 📝 `cm_cli/__main__.py` (+6 -32) ➖ `comfyui_manager/cm_cli/__init__.py` (+0 -0) 📝 `comfyui_manager/glob/manager_core.py` (+1 -1) 📝 `comfyui_manager/legacy/manager_core.py` (+1 -1) 📝 `comfyui_manager/prestartup_script.py` (+1 -1) 📝 `docs/en/cm-cli.md` (+13 -27) 📝 `docs/ko/cm-cli.md` (+13 -28) 📝 `pyproject.toml` (+3 -3) </details> ### 📄 Description Fixed an issue in `manager-v4` where `cm-cli` failed to run due to an import error. - Move cm_cli from comfyui_manager/cm_cli/ to top-level cm_cli/ package - Convert relative imports to absolute imports - Remove non-functional cli-only-mode command (flag was never checked) - Update docs: python cm-cli.py → cm-cli entrypoint - Update prestartup snapshot restore to use -m cm_cli - Version bump to 4.1b1 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-28 21:10:59 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#2588
No description provided.