uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
UIP 反馈
“uip反馈发送”的语法和选项,可直接从 CLI 提交错误报告或改进建议。
uip feedback 无需离开终端,即可向 UiPath 团队发送错误报告和改进建议。它有一个子命令 send。
大纲
uip feedback send --type <bug|improvement> --title <text> (--description <text> | --description-file <path> | stdin) [--priority <priority>] [--email <email>] [--attachment <paths...>] [--slack-thread <url>]
uip feedback send --type <bug|improvement> --title <text> (--description <text> | --description-file <path> | stdin) [--priority <priority>] [--email <email>] [--attachment <paths...>] [--slack-thread <url>]
UIP 反馈发送
提交错误报告或改进建议。通过 --description、--description-file 或管道标准输入之一提供描述正文。
选项
| 标记 | 描述 |
|---|---|
--type <type> | 必填。 bug 或 improvement。 |
--title <title> | 必需。问题标题/摘要。 |
--description <text> | 要重现的说明或步骤。单行安全。与 --description-file 互斥。 |
--description-file <path> | 读取文件中的描述。将其用于大型多行 Markdown 正文 —在 Windows PowerShell 上为必要项,其中内联的多行--description值会被 Shell 损坏。与 --description 互斥。 |
--priority <priority> | critical、normal 或 minor。默认为 normal。 |
--email <email> | 联系人电子邮件。默认为活动登录会话中的电子邮件(如果有)。 |
--attachment <paths...> | 要附加的一个或多个文件(以空格分隔)。最多 10 个文件,每个 10MB;在创建问题之前,这两个限制都会得到验证。 |
--slack-thread <url> | 工单中包含指向相关 Slack 讨论的链接。必须是有效的 http/https URL。 |
如果 --description、--description-file 或管道标准输入均不提供正文,则命令将失败,并显示 ValidationError。在发送任何内容之前,客户端会拒绝大约 32 KB 的描述。
当标准输出是 TTY 时, send在提交之前显示草稿的交互式审核/编辑提示(包括附加 Slack 会话链接的机会) — 请在 CI 上下文中传递所有相关标志,以避免此提示使作业挂起(请参阅脚本编写模式 — 禁止显示交互式提示)。
示例
uip feedback send \
--type bug \
--title "Crash on login" \
--description "Happens every time with --interactive"
uip feedback send \
--type bug \
--title "Crash on login" \
--description "Happens every time with --interactive"
# Large multi-line body — required approach on Windows PowerShell
uip feedback send \
--type bug \
--title "[RPA] Crash on run" \
--description-file ./feedback-body.md
# Large multi-line body — required approach on Windows PowerShell
uip feedback send \
--type bug \
--title "[RPA] Crash on run" \
--description-file ./feedback-body.md
# Non-interactive CI usage
uip feedback send \
--type improvement \
--title "Add --dry-run to uip or jobs start" \
--description-file ./suggestion.md \
--priority minor \
--email ci-bot@example.com
# Non-interactive CI usage
uip feedback send \
--type improvement \
--title "Add --dry-run to uip or jobs start" \
--description-file ./suggestion.md \
--priority minor \
--email ci-bot@example.com
数据形状(--输出 json)
{
"Code": "FeedbackSent",
"Data": {
"IssueKey": "UIP-12345",
"IssueUrl": "https://uipath.atlassian.net/browse/UIP-12345",
"Type": "bug",
"Title": "Crash on login"
}
}
{
"Code": "FeedbackSent",
"Data": {
"IssueKey": "UIP-12345",
"IssueUrl": "https://uipath.atlassian.net/browse/UIP-12345",
"Type": "bug",
"Title": "Crash on login"
}
}
当 --slack-thread 或 --attachment 通过时,响应还包含 SlackThread 和/或 AttachmentsUploaded(格式为 "<uploaded>/<total>" — 附件上传失败非严重失败,不会阻止记录问题) 。
相关内容
- 脚本模式— 在 CI 中以非交互方式运行
uip命令。