所以我安装了wp管理包,但我似乎无法让她工作,出现了一个错误,告诉我xdg open doenst exist。。对于我使用的安装:
wp package install [email protected]:wp-cli/admin-command.git
Installing package wp-cli/admin-command (dev-master)
Updating ~.wp-cli\\packages\\composer.json to require the package...
Registering [email protected]:wp-cli/admin-command.git as a VCS repository...
Using Composer to install the package...
---
Loading composer repositories with package information
Updating dependencies
Resolving dependencies through SAT
Looking at all rules.
Dependency resolution completed in 0.385 seconds
Analyzed 6619 packages to resolve dependencies
Analyzed 474197 rules to resolve dependencies
Package operations: 1 install, 0 updates, 0 removals
Installs: wp-cli/admin-command:dev-master 384f6d3
- Installing wp-cli/admin-command (dev-master 384f6d3)
Writing lock file
Generating autoload files
---
Success: Package installed.
现在检查她是否在那里
wp admin --info
\'xdg-open\' is not recognized as an internal or external command,
operable program or batch file.
那么到底出了什么问题,我如何才能运行wp admin命令呢?顺便说一句,我在powershell的win10上运行WP-CLI 2.0.1。任何帮助都将不胜感激。