Skip to content

Running wp CLI commands is awkward #5

@markjaquith

Description

@markjaquith

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions