- 概述
- 开始使用
- 概念
- 使用 UiPath CLI
- 操作指南
- CI/CD 方法
- 命令参考
- 迁移
- 参考与支持
Syntax and options for `uip solution init`, which scaffolds an empty UiPath solution directory with a `.uipx` manifest.
uip solution init scaffolds an empty UiPath solution on disk. It creates a directory named after the solution, writes a .uipx manifest with an empty Projects array, and writes AGENTS.md and CLAUDE.md briefing files that orient AI coding agents to the solution — ready to receive projects via uip solution projects add or uip solution projects import.
大纲
uip solution init <solutionName>
uip solution init <solutionName>
参数
<solutionName>(required) — Name or path for the new solution. A directory is created at this location; the.uipxfile inside it takes the same base name.
选项
除全局选项外无此选项。
示例
最小
uip solution init my-solution
uip solution init my-solution
Creates ./my-solution/my-solution.uipx, plus ./my-solution/AGENTS.md and ./my-solution/CLAUDE.md.
Scripting — 捕获生成的路径
uip solution init my-solution --output-filter "Data.Path"
uip solution init my-solution --output-filter "Data.Path"
与--output json结合使用,会发出单个 JSON 字符串,其中包含新.uipx绝对路径,适用于管道到后续命令。
数据形状(--输出 json)
{
"Code": "SolutionInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/my-solution/my-solution.uipx",
"NextSteps": "Read /workspace/my-solution/AGENTS.md or /workspace/my-solution/CLAUDE.md to understand the solution lifecycle, project types that can be used inside a solution, and related uip command references."
}
}
{
"Code": "SolutionInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/my-solution/my-solution.uipx",
"NextSteps": "Read /workspace/my-solution/AGENTS.md or /workspace/my-solution/CLAUDE.md to understand the solution lifecycle, project types that can be used inside a solution, and related uip command references."
}
}
NextSteps points at whichever briefing file the invoking agent (or a human) should read next — it's the same content in both files, written for different coding-agent conventions.
相关命令
uip solution projects add— 注册新解决方案中的现有项目子文件夹。uip solution projects import— 将外部项目文件夹复制到新的解决方案。uip solution pack— 添加项目后,生成用于部署的.zip。
另请参阅
- 您的第一个管道— 遍历
init→projects add→pack→publish→deploy run。 uip solution概述— 动词分类和端到端流。