💡 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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

enhancement
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

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.