roots / roots/trellis-cli

💡 Trellias alias should add snippet to site/wp-cli.yml or an alternative wp-cli.yml (or wp-cli.local.yml) config.

Open
#408 3 comments 0 reactions 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 nice if the alias command automaticly added the

_:
  inherit: wp-cli.trellis-alias.yml

snippet to site/wp-cli.yml or an alternative wp-cli.yml (or wp-cli.local.yml) config. ❤️

AC:

alias command

  • should add snippet to config file
  • should not add if snippet exists
Additional context

No response

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 with the alias command and its handling of site/wp-cli.yml, wp-cli.yml, and wp-cli.local.yml. Verify how the existing config is selected, then add the snippet only when absent and confirm the alias command leaves an existing snippet unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.