因此,我安装了wp管理包,但我似乎无法让她工作,一个错误弹出告诉我xdg-打开的doenst存在。对于安装,我使用了:
wp package install git@github.com:wp-cli/admin-command.git
Installing package wp-cli/admin-command (dev-master)
Updating ~.wp-cli\packages\composer.json to require the package...
Registering git@github.com: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管理命令运行呢?顺便说一句,我在powershell的win10上运行WP-CLI2.0.1。任何帮助都将不胜感激。
https://wordpress.stackexchange.com/questions/318167
复制相似问题