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

UiPath CLI 用户指南

UIP RPA 差异

uip rpa diff可在 Studio 中打开两个文件的并排比较窗口。文件可以是任何类型(工作流、编码文件、纯文本),并且比较完全是视觉化的:Studio 在窗口中呈现差异,并且命令会阻止,直到用户将其关闭。

由于差异由 Studio 呈现,因此该动词仅适用于 Windows 运行者(Studio 仅适用于 Windows)。

大纲

uip rpa diff --file1-path <string> --file1-title <string> --file2-path <string> --file2-title <string>
uip rpa diff --file1-path <string> --file1-title <string> --file2-path <string> --file2-title <string>

选项

标记描述
--file1-path <string>要比较的第一个文件的完整路径。
--file1-title <string>差异窗口中显示的第一个文件的标题。
--file2-path <string>与第一个文件进行比较的第二个文件的完整路径。
--file2-title <string>差异窗口中显示的第二个文件的标题。

有关已安装工具版本的完整选项列表,请运行:

uip rpa diff --help
uip rpa diff --help

示例

# Compare two revisions of a workflow
uip rpa diff \
  --file1-path C:\work\backup\Main.xaml --file1-title "Main (last release)" \
  --file2-path C:\work\MyProject\Main.xaml --file2-title "Main (current)"

# Compare a generated file with the existing one before overwriting
uip rpa diff \
  --file1-path C:\work\MyProject\Helpers.cs --file1-title "Existing" \
  --file2-path C:\tmp\Helpers.generated.cs --file2-title "Generated"
# Compare two revisions of a workflow
uip rpa diff \
  --file1-path C:\work\backup\Main.xaml --file1-title "Main (last release)" \
  --file2-path C:\work\MyProject\Main.xaml --file2-title "Main (current)"

# Compare a generated file with the existing one before overwriting
uip rpa diff \
  --file1-path C:\work\MyProject\Helpers.cs --file1-title "Existing" \
  --file2-path C:\tmp\Helpers.generated.cs --file2-title "Generated"
  • uip rpa start-studio — Studio 呈现差异窗口;如果您计划链接多个动词,请热身。

另请参阅

  • 大纲
  • 选项
  • 示例
  • 相关内容
  • 另请参阅

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新