CLI for specific site (on server)

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

enhancement
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
Dominant language
Go
Stars
169
Forks
31
Avg merge
1h 2m
Merged PRs (30d)
17

Getting set up

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.

More from roots/trellis-cli

All issues in roots/trellis-cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.