未验证 提交 9402107f 编写于 作者: O openharmony_ci 提交者: Gitee

!2912 Done! 2614:修改低错【需要翻译】

Merge pull request !2912 from wusongqing/TR2614
......@@ -157,22 +157,22 @@ You can use the hpm-cli tool to manage the lifecycle of an HPM Part. The followi
| -------- | -------- | -------- |
| Querying version information| **hpm -V** or **hpm --version**| Displays the version of the hpm-cli tool.|
| Querying help information| **hpm -h** or **hpm --version**| Displays the command list and help information.|
| hpm -h | Displays command help information.|
|| hpm -h | Displays command help information.|
| Creating a project| hpm init bundle | Creates an HPM Part project.|
| hpm init -t template | Creates a scaffolding project from a template.|
|| hpm init -t template | Creates a scaffolding project from a template.|
| Installing HPM Parts| **hpm install** or **hpm i**| Installs dependent HPM Parts in the bundle.json file.|
| hpm install bundle\@version | Installs HPM Parts of a specified version.|
|| hpm install bundle\@version | Installs HPM Parts of a specified version.|
| Uninstalling HPM Parts| hpm uninstall bundle | Uninstalls dependent HPM Parts.|
| **hpm remove** or **hpm rm bundlename**| Uninstalls dependent HPM Parts.|
|| **hpm remove** or **hpm rm bundlename**| Uninstalls dependent HPM Parts.|
| Viewing information| **hpm list** or **hpm ls**| Displays the dependency tree of the HPM part.|
| hpm dependencies | Generates the dependency relationship data of the HPM Part. (This command is also integrated in the **hpm ui** command. After you run the hpm ui command, a hpm UI is displayed with the dependencies.)|
|| hpm dependencies | Generates the dependency relationship data of the HPM Part. (This command is also integrated in the **hpm ui** command. After you run the hpm ui command, a hpm UI is displayed with the dependencies.)|
| Searching for HPM Parts| hpm search name | Searches for HPM Parts. **--json** is used to specify the search result in JSON format, and **-type** is used to set the target type, which can be **part**, **distribution**, or **code-segment**.|
| Setting HPM configuration items| hpm config set key value | Sets configuration items, such as the server address and network proxy.|
| hpm config delete key | Deletes configurations.|
|| hpm config delete key | Deletes configurations.|
| Updating HPM Part versions| hpm update | Updates the versions of dependent HPM Parts.|
| hpm check-update | Checks whether version updates are available to dependent HPM Parts.|
|| hpm check-update | Checks whether version updates are available to dependent HPM Parts.|
| Building| hpm build | Builds an HPM Part.|
| hpm dist | Builds a distribution. The build depends on the **dist** script in **scripts** of **bundle.json**.|
|| hpm dist | Builds a distribution. The build depends on the **dist** script in **scripts** of **bundle.json**.|
| Packing | hpm pack | Packs dependencies of local HPM Parts.|
| Burning| hpm run flash | Burns the firmware. The firmware burning depends on the **flash** script in **scripts** of **bundle.json**.|
| Publishing| hpm publish | Publishes an HPM Part, which must be unique in the repository and has a unique version. (An account is required for login.)|
......@@ -242,7 +242,7 @@ HPM Part dependencies (including indirect dependencies) can be displayed by runn
```
$ hpm list
+--demo@1.0.0
| +--@huawei/media@1.0.2
| +--@example/media@1.0.2
| +--@demo/sport_hi3518ev300_liteos_a@1.0.0
| | +--@demo/app@4.0.1
| | | +--@demo/build@4.0.1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册