Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaffold: set arbitrary headers #193

Open
1 task done
BrianHenryIE opened this issue Jul 12, 2024 · 0 comments
Open
1 task done

Scaffold: set arbitrary headers #193

BrianHenryIE opened this issue Jul 12, 2024 · 0 comments

Comments

@BrianHenryIE
Copy link
Member

Feature Request

Describe your use case and the problem you are facing

I'm using wp scaffold plugin for the first time and the very next thing I want to do after it completes is to set the value of the Update URI header.

Describe the solution you'd like

Something similar to wp config set, ~ wp scaffold plugin set "Update URI" https://example.com

I could see this being used in CI for the Version, Tested up to, Requires PHP, WC requires at least, and WC tested up to fields.

So maybe scaffold isn't the correct term.

I'm pretty sure there's code in WP CLI that tokenizes PHP but I can't remember where I saw it. Probably in the doc-block parsing. I presume the same approach would be used here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant