roots / roots/trellis-cli

CLI for specific site (on server)

Open
#504 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
169
Forks
30
Avg merge
13h 43m
Merged PRs (30d)
7

Description

Summary

It would be quite helpful if Trellis CLI offers a command that invokes WP CLI for a specific site.
WP CLI supports aliases and remote connections.
e.g. wp @production would connect to the WordPress production site.
For Trellis also the site name would have to be specified:
trellis wp-cli production example.com

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing Trellis CLI command entry points and compare them with the linked WP-CLI remote-command documentation and wp-cli.yml example. Define the behavior around trellis wp-cli production example.com; done means a site-specific command can invoke WP-CLI for the requested remote site.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, wordpress
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.