UiPath Documentation
uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

uip 与ss init对比

“uip vss init”的语法和选项,用于写入“vss.json”这些都是在项目根目录中配置的,以初始化垂直解决方案。

uip vss init 就地初始化新的垂直解决方案。它会在项目根目录写入 vss.json,其中 processes 和 connections 列表为空。当您已有项目布局并希望将解决方案配置拖放到其中时,请使用 init。当前 CLI 中没有模板克隆命令 — init 是创建新 vss.json 的唯一方法。

大纲​

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将失败。

另请参阅​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新