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

UIP 编码应用程序

使用“uip codedapp”工具管理 UiPath 编码网页应用程序的完整生命周期的命令。

uip codedapp scaffolds, packs, publishes, deploys, and manages UiPath Coded Web Applications — HTML/JavaScript apps authored in Studio Web and hosted on UiPath Cloud. The verbs cover the full lifecycle: init a local starter, pull a remote project to local disk, push changes back, pack into a .nupkg, publish to UiPath, validate a path name, then deploy or upgrade the app, and delete a deployed app. Install it with uip tools install codedapp, or invoke uip codedapp … and let auto-install run. Refer to Tools (plugins) for the install model and uip tools for the command that manages tool installation. codedapp is the command prefix; the underlying package is @uipath/codedapp-tool.

The tool runs a pre-action hook on every command that reads the session written by uip login and exports it into the environment, so most auth-related flags are optional — they exist as one-off overrides. Only push/pull/publish/deploy/delete/validate (the verbs that talk to UiPath) accept these overrides; init and pack are purely local and register no auth flags at all.

命令​

每个uip codedapp动词都有自己的参考页面。有关已安装工具版本上的实时参数列表,请运行uip codedapp <verb> --help 。

动词描述
init创建本地编码应用程序入门版。
push将本地源代码推送到 Studio Web 项目。
pull将项目文件从 Studio Web 拉取到本地磁盘。
pack将构建的编码应用程序打包到.nupkg中。
publish将.nupkg发布到 UiPath 并注册应用程序。
deploy在 UiPath 中部署或升级已发布的应用程序。
deleteRemove a deployed app from a folder.
validateCheck whether an app path name is free, and which app holds it.

大纲​

uip codedapp init    <path> [--template <name>] [--type <Action>] [--force] [--skip-solution-registration]
uip codedapp pull    [--project-id <id>] [--target-dir <dir>] [--overwrite] [--verbose] [<auth flags>]
uip codedapp push    [--project-id <id>] [--build-dir <dir>] [--ignore-resources] [--allow-large-files] [--version <v>] [--verbose] [<auth flags>]
uip codedapp pack    <dist> [--name <n>] [--version <v>] [--output-dir <dir>] [...]
uip codedapp publish [--name <n>] [--version <v>] [--type <Web|Action>] [--personal-workspace] [<auth flags>]
uip codedapp deploy  [--name <n>] [--display-name <title>] [--path-name <name>] [--version <v>] [--folder-key <key>] [--tags <tags>] [--client-id <id>] [<auth flags>]
uip codedapp delete  --display-name <title> --yes [--folder-key <key>] [<auth flags>]
uip codedapp validate --path-name <name> [<auth flags>]
uip codedapp init    <path> [--template <name>] [--type <Action>] [--force] [--skip-solution-registration]
uip codedapp pull    [--project-id <id>] [--target-dir <dir>] [--overwrite] [--verbose] [<auth flags>]
uip codedapp push    [--project-id <id>] [--build-dir <dir>] [--ignore-resources] [--allow-large-files] [--version <v>] [--verbose] [<auth flags>]
uip codedapp pack    <dist> [--name <n>] [--version <v>] [--output-dir <dir>] [...]
uip codedapp publish [--name <n>] [--version <v>] [--type <Web|Action>] [--personal-workspace] [<auth flags>]
uip codedapp deploy  [--name <n>] [--display-name <title>] [--path-name <name>] [--version <v>] [--folder-key <key>] [--tags <tags>] [--client-id <id>] [<auth flags>]
uip codedapp delete  --display-name <title> --yes [--folder-key <key>] [<auth flags>]
uip codedapp validate --path-name <name> [<auth flags>]

Common auth-override flags on push/pull/publish/deploy/delete/validate: --base-url <url>, --org-id <id>, --tenant-id <id>, --access-token <token> (plus --org-name / --tenant-name where relevant). validate is organization-scoped and takes no --tenant-id. Prefer uip login — these flags are for one-off overrides. init and pack are local-only and take none of these.

所有uip codedapp动词都遵循全局选项( --output 、 --output-filter 、 --log-level 、 --log-file )。标准退出代码适用。

另请参阅​

  • 工具(插件) — 为@uipath/codedapp-tool安装模型
  • uip login — 每个子命令使用的凭据。
  • 配置— 凭据的优先级(环境变量 → 文件 → 标志)。
  • 命令​
  • 大纲​
  • 另请参阅​

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新