-
Notifications
You must be signed in to change notification settings - Fork 9
Allow usage as wp cli package #41
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
Conversation
…ible with WP-CLI Packages environment
|
@laborin, I need more details in the testing instructions, please. My local environment has multiple sites set up. I'm not sure where I'm supposed to be installing to/running commands from. I've added some subpoints with questions on no. 2 & 3 in testing instructions. Please provide examples or let me know when you're available and we can do a screenshare (or record one for me). Thank you! |
gosiapado
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With guidance was able to install package at global level and test with multiple local sites. Besides listing forms also successfully added fields to forms using the CLI. 👍
Assuming, the warning about testing and minimum tested version on the wordpress.org page won't be resolved until this is merged and published.
morganisok
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Description
This PR adds the ability to use the plugin as a global WP-CLI Package, to make all GF CLI commands available to any site installed on the server without the need of installing the plugin on each site.
Closes https://github.com/gravityforms/backlog/issues/3983
Closes https://github.com/gravityforms/backlog/issues/3039 by updating the "Tested up to" version
Testing instructions
composer.jsonfile.wp package install <full path to the zip file>a. What location should I be at? installed from within local/site/app/public (site didn't have gravityforms repo) and it installed to /Users/gosiapado/.wpcli/packages/local/gravityforms-gravityformscli
a. What location should I be at? any directory that is child of the root directory (any child of the directory containing your wp-config.php file)
wp gf form listNote: Once this PR is merged, users will be able to install this package directly from the public Git repository this way:
wp package install https://github.com/gravityforms/gravityformscli.gitQA issue tracking sheet
Screenshots
Checklist:
npm installand committed package-lock.json (if necessary).