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

Terminus 1.0 WP-CLI options "does not exist" #1504

Closed
JoshShashaty opened this issue Jan 4, 2017 · 2 comments
Closed

Terminus 1.0 WP-CLI options "does not exist" #1504

JoshShashaty opened this issue Jan 4, 2017 · 2 comments

Comments

@JoshShashaty
Copy link

Expected behavior

WP-CLI global options and single command options, like --skip-plugins aren't recognized it seems.

Examples:
terminus remote:wp site.env wp search-replace search-string replace string --dry-run
terminus remote:wp site.env wp search-replace plugin list --format=json

Actual behavior

Returns respectively

  [Symfony\Component\Console\Exception\RuntimeException]  
  The "--dry-run" option does not exist.   
  [Symfony\Component\Console\Exception\RuntimeException]  
  The "--format" option does not exist.   

Steps to reproduce the behavior

Test out those commands above with Terminus 1.0

@greg-1-anderson
Copy link
Member

The syntax for this has changed. Use the -- argument separator to divide options intended for Terminus from options intended for wp-cli.

ex:

terminus remote:wp site.env -- search-replace "search string" "replace string" --dry-run

@ataylorme
Copy link

--dry-run may not work. See #1505

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

No branches or pull requests

3 participants