zzap / docs-dangit

Other
13 stars 1 forks source link

[BUG] Missing WP-CLI subcommand #50

Open zzap opened 1 year ago

zzap commented 1 year ago

Describe the bug

wp scaffold block command is missing from search results. I see it in data file so this looks like a frontend issue.

Or do we have a way for catching deprecated commands? Because this one is and will be removed in WP-CLI v2.8.0.

To Reproduce Steps to reproduce the behavior:

  1. Go to site
  2. Search for wp scaffold or wp scaffold block
  3. See results

Expected behavior

I expect to see result for wp scaffold block.

dbeja commented 1 year ago

Right now, we don't check for deprecated commands, we only update them. So, if a command is deprecated it won't be removed from the search. I'll open a new item for that.

Also, I've changed the workflow to update the wp cli dump on the workflow temporary dir. It's not updated anymore on the repo.

dbeja commented 1 year ago

Or is it ok to leave the deprecated item? It makes sense to not remove it, right?