You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your use case and the problem you are facing
Currently the blog ID or slug must be specified when using the command. In cases where a custom domain is used, however, the --slug option fails and it is tedious to look up the assigned site ID in an automated use case.
Describe the solution you'd like
Allow site deletion by only specifying the --url option. For example: wp site delete --url="http://example.com".
The text was updated successfully, but these errors were encountered:
We could implement wp site get <id|url> instead, then one could pair wp site delete with wp site get http://example.com --field=id. This would be more in line with all the other commands.
Feature Request
Describe your use case and the problem you are facing
Currently the blog ID or slug must be specified when using the command. In cases where a custom domain is used, however, the
--slug
option fails and it is tedious to look up the assigned site ID in an automated use case.Describe the solution you'd like
Allow site deletion by only specifying the
--url
option. For example:wp site delete --url="http://example.com"
.The text was updated successfully, but these errors were encountered: