UiPath Documentation
automation-suite
2023.10
false
uipathctl 参考指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

uipathctl manifest diff

有关 uipathctlmanifestdiff 命令的参考,该命令可将配置文件与 Automation Suite 中的实时集群状态进行比较。

描述​

加载作为参数提供的配置,并将其与集群中的实时配置进行比较。

如果不使用任何标志,则仅比较清单,而忽略集群范围内的配置和依赖项。

输出始终为YAML 。默认情况下,路径中可用的 diff 命令与u (统一差异)、 -N (将不存在的文件视为空)和--color (颜色输出)一起运行。添加--no-color标志以禁用颜色输出。

uipathctl manifest diff PATH [flags]
uipathctl manifest diff PATH [flags]

示例​

# Diff manifest found in input.json
uipathctl manifest diff input.json

# Diff manifest found in input.json, using the configuration found in cluster.kubeconfig
uipathctl manifest diff input.json/cluster_config.json --kubeconfig cluster.kubeconfig

# Diff manifest found in input.json, including cluster wide configurations and dependencies
uipathctl manifest diff input.json/cluster_config.json --include-dependencies --include-config
# Diff manifest found in input.json
uipathctl manifest diff input.json

# Diff manifest found in input.json, using the configuration found in cluster.kubeconfig
uipathctl manifest diff input.json/cluster_config.json --kubeconfig cluster.kubeconfig

# Diff manifest found in input.json, including cluster wide configurations and dependencies
uipathctl manifest diff input.json/cluster_config.json --include-dependencies --include-config

选项​

  -h, --help                   help for diff
      --include-config         include cluster wide config in the diff
      --include-dependencies   include dependencies in the diff
      --no-color               disable color output
  -h, --help                   help for diff
      --include-config         include cluster wide config in the diff
      --include-dependencies   include dependencies in the diff
      --no-color               disable color output

从父命令继承的选项​

      --context string      name of the kubeconfig context to use
      --kubeconfig string   kubectl configuration file (default: ~/.kube/config)
      --log-format string   log format. one of [text,json] (default "text")
      --log-level string    set log level. one of [trace,debug,info,error] (default "error")
      --timeout duration    timeout of the command (default 1h0m0s)
      --context string      name of the kubeconfig context to use
      --kubeconfig string   kubectl configuration file (default: ~/.kube/config)
      --log-format string   log format. one of [text,json] (default "text")
      --log-level string    set log level. one of [trace,debug,info,error] (default "error")
      --timeout duration    timeout of the command (default 1h0m0s)
  • 描述​
  • 示例​
  • 选项​
  • 从父命令继承的选项​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新