Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
This repository was archived by the owner on May 1, 2025. It is now read-only.

Feature Request: Run commands against the Local environment from the host #5

@ethanclevenger91

Description

@ethanclevenger91

In an effort to automate as much of running client updates each month as I can, I currently have a script that will crawl through a configured list of directories and, in each one, essentially run wp plugin update --all (or other arbitrary shell commands). That can run for an hour or whatever and then I pop into each site, give it a once over, commit my changes and push. Great.

I've considered moving to Local for development, but would need some kind of feature out of local-cli that let's me execute commands against a site. Something like wp-cli itself provides for running commands over an SSH connection.

Would love to see a similar feature come to local-cli. Something like...

local-cli exec SITEID "wp --info"

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