💡 Trellias alias should add snippet to site/wp-cli.yml or an alternative wp-cli.yml (or wp-cli.local.yml) config.
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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