- 概述
- 开始使用
- 概念
- 使用 UiPath CLI
- 操作指南
- CI/CD 方法
- 命令参考
- 迁移
- 参考与支持
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 。
大纲
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.