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.
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 theUpdate 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
, andWC 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.