WordPress / WordPress/theme-check
Let's make a way to run the theme-check via cli against arbitrary folders?
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 371
- Forks
- 113
- Avg merge
- 8m
- Merged PRs (30d)
- 5
Description
Previously: #2
Discussed in Slack here:
https://wordpress.slack.com/archives/C02RP4Y3K/p1670944400058739
It feels like being able to run the theme-check via wp-cli as something like
wp theme-check [slug]
wp theme-check /tmp/downloads/downloaded-theme/
to catch either installed themes and stuff in folders outside of WordPress itself -- as a way to run preflight checks, and potentially tie into deployments and github actions -- would be useful, so themes could be scanned not only from being installed, but arbitrary theme directories that aren't exposed to a functional installation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how the existing theme-check flow locates installed themes, then compare that with the proposed wp-cli inputs for installed themes and arbitrary folders. Define the supported path and slug behavior, and verify that both examples can run checks outside a functional WordPress installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100