Comfy-Org / comfy-cli

Command Line Interface for Managing ComfyUI
https://docs.comfy.org/comfy-cli/getting-started
GNU General Public License v3.0
291 stars 47 forks source link

Having problem with set-default and --workspace commands #205

Open scaruslooner opened 2 weeks ago

scaruslooner commented 2 weeks ago

Describe the bug A clear and concise description of what the bug is. image

(env) Z:\AI\ComfyUI>comfy set-default "Z:\AI\ComfyUI"
warn: The recent workspace Z:\AI\ComfyUI_windows_portable\ComfyUI is not a valid ComfyUI path.

Specified path is not a ComfyUI path: Z:\AI\ComfyUI.

(env) Z:\AI\ComfyUI>comfy set-default "Z:\AI\ComfyUI\main.py"
warn: The recent workspace Z:\AI\ComfyUI_windows_portable\ComfyUI is not a valid ComfyUI path.

Specified path is not a ComfyUI path: Z:\AI\ComfyUI\main.py.

(env) Z:\AI\ComfyUI>comfy set-default ComfyUI
warn: The recent workspace Z:\AI\ComfyUI_windows_portable\ComfyUI is not a valid ComfyUI path.

Path not found: Z:\AI\ComfyUI\ComfyUI.

(env) Z:\AI\ComfyUI>cd AI
The system cannot find the path specified.

(env) Z:\AI\ComfyUI>cd Z:\AI

(env) Z:\AI>comfy set-default ComfyUI
warn: The recent workspace Z:\AI\ComfyUI_windows_portable\ComfyUI is not a valid ComfyUI path.

Specified path is not a ComfyUI path: Z:\AI\ComfyUI.

(env) Z:\AI>cd Z:\AI\ComfyUI

To Reproduce Steps to reproduce the behavior py -3.10 -m venv env env\Scripts\Activate pip install comfy-cli

Expected behavior It wont set the workspace so I cant launch it.