所有命令 · internal
pm extension inventory
List installed extensions in the selected scope, with the last observed update, without activating extension code.
Compatibility view of the installed package inventory (alias: pm extension list); it reads manifests and saved state without activating extension code.
用法
pm extension inventory [options] [name]参数
| <name> | Extension name or directory to inspect | 可选 |
|---|
选项
| --fields <value> | Render compact comma-separated row fields, for example: name,directory,scope,update | 可选 |
|---|---|---|
| --project | Use project extension scope (default) | 可选 |
| --global | Use global extension scope | 可选 |
示例
pm package list