uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
“uip vss init”的语法和选项,用于写入“vss.json”这些都是在项目根目录中配置的,以初始化垂直解决方案。
uip vss init就地初始化新的垂直解决方案。它会在项目根目录写入vss.json ,其中processes和connections列表为空。当您已有项目布局,并希望将解决方案配置拖放到其中时,请使用init ;当您希望为您克隆上游模板时,使用uip vss scaffold 。
大纲
uip vss init [options]
uip vss init [options]
选项
| 标记 | 描述 |
|---|---|
-t, --target-path <targetPath> | 目标目录。默认为当前工作目录。 |
-n, --name <name> | 垂直解决方案名称。如果省略,工具会以交互方式提示。 |
示例
# Interactive — the tool prompts for the name
uip vss init
# Non-interactive — name supplied up front
uip vss init --name "My App"
# Explicit target directory
uip vss init --name "My App" --target-path ./my-app
# Interactive — the tool prompts for the name
uip vss init
# Non-interactive — name supplied up front
uip vss init --name "My App"
# Explicit target directory
uip vss init --name "My App" --target-path ./my-app
数据形状(--输出 json)
{
"Code": "VerticalSolutionInitialized",
"Data": {
"Status": "Initialized successfully",
"Path": "/Users/alice/my-app/vss.json"
}
}
{
"Code": "VerticalSolutionInitialized",
"Data": {
"Status": "Initialized successfully",
"Path": "/Users/alice/my-app/vss.json"
}
}
如果目标目录不存在或已包含vss.json , init将失败。
相关内容
- uip vss robot — 克隆上游模板,而不是就地初始化。
- uip vss add — 根据新的
vss.json注册流程。 - UIP 与 SS 同步— 添加流程后,协调解决方案与 UiPath Cloud。