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

Running wp CLI commands is awkward #5

Closed
markjaquith opened this issue Feb 14, 2021 · 1 comment · Fixed by #34 or #36
Closed

Running wp CLI commands is awkward #5

markjaquith opened this issue Feb 14, 2021 · 1 comment · Fixed by #34 or #36

Comments

@markjaquith
Copy link
Contributor

Works:

  • ymir wp "user list"

Does not work:

  • ymir wp user list
  • ymir wp -- user list

Having to quote the WordPress command is incredibly awkward. Imagine commands which themselves have to be quoted.

When I use Pantheon's Terminus tool (a CLI for interacting with their hosting platform) I can do terminus remote:wp sitename.live -- user list. The -- there signifies "I'm done passing options to terminus, and the rest of everything should be passed to wp on the remote host" and is quite handy.

@carlalexander
Copy link
Member

Yeah, I just made it the same way Vapor runs CLI commands, but that's actually a pretty nice way to handle it.

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