Feature Request: `vm` commands for Composer, PHP, and WP-CLI
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 169
- Forks
- 30
- Avg merge
- 13h 43m
- Merged PRs (30d)
- 7
Description
Summary
Add trellis vm commands that utilize trellis vm shell --workdir=<cwd> <command> for: composer, php, and wp
This would allow for more quickly executing Composer, PHP, and WP-CLI commands
Examples:
$ trellis vm composer install
$ trellis vm wp acorn optimize:clear
$ trellis vm php script.php
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 at the existing trellis vm shell --workdir=<cwd> <command> entry point and trace how VM commands are registered and dispatched. Add the composer, php, and wp command forms, then verify the documented examples execute through the VM with the current working directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, php, wordpress
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100