cli-anything-dify-workflow
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDify Workflow CLI Skill
Dify Workflow CLI Skill
Installation
安装
Install the upstream Dify workflow CLI first:
bash
python -m pip install "dify-ai-workflow-tools @ git+https://github.com/Akabane71/dify-workflow-cli.git@main"Then install the CLI-Anything harness:
bash
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=dify-workflow/agent-harness首先安装上游的Dify工作流CLI:
bash
python -m pip install "dify-ai-workflow-tools @ git+https://github.com/Akabane71/dify-workflow-cli.git@main"然后安装CLI-Anything工具集:
bash
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=dify-workflow/agent-harnessUsage
使用方法
The harness forwards to the upstream CLI.
dify-workflowbash
cli-anything-dify-workflow guide
cli-anything-dify-workflow list-node-types
cli-anything-dify-workflow create -o workflow.yaml --mode workflow --template llm
cli-anything-dify-workflow inspect workflow.yaml -j
cli-anything-dify-workflow validate workflow.yaml -j
cli-anything-dify-workflow edit add-node -f workflow.yaml --type code --title "Process"
cli-anything-dify-workflow config set-model -f app.yaml --provider openai --name gpt-4o该工具集将请求转发至上游的 CLI。
dify-workflowbash
cli-anything-dify-workflow guide
cli-anything-dify-workflow list-node-types
cli-anything-dify-workflow create -o workflow.yaml --mode workflow --template llm
cli-anything-dify-workflow inspect workflow.yaml -j
cli-anything-dify-workflow validate workflow.yaml -j
cli-anything-dify-workflow edit add-node -f workflow.yaml --type code --title "Process"
cli-anything-dify-workflow config set-model -f app.yaml --provider openai --name gpt-4oCommand Groups
命令组
guidelist-node-typescreateinspectvalidatechecklistedit add-node|remove-node|update-node|add-edge|remove-edge|set-titleconfig set-model|set-prompt|add-variable|set-opening|add-question|add-tool|remove-toolexportimportdifflayout
guidelist-node-typescreateinspectvalidatechecklistedit add-node|remove-node|update-node|add-edge|remove-edge|set-titleconfig set-model|set-prompt|add-variable|set-opening|add-question|add-tool|remove-toolexportimportdifflayout
Agent Guidance
Agent使用指南
- Prefer /
-jon upstream commands when available.--json-output - The harness itself is a wrapper. Real workflow logic is provided by the upstream project.
- If is not on PATH but the
dify-workflowPython package is installed, the wrapper falls back todify_workflow.python -m dify_workflow.cli - All operations are local file edits on Dify YAML/JSON DSL files.
- 当上游命令支持时,优先使用/
-j参数。--json-output - 本工具集本身是一个包装器,实际工作流逻辑由上游项目提供。
- 如果不在PATH中,但已安装
dify-workflowPython包,包装器会自动回退到dify_workflow执行。python -m dify_workflow.cli - 所有操作均为对本地Dify YAML/JSON DSL文件的编辑。