Feature Request: `vm` commands for Composer, PHP, and WP-CLI

Open
#386 0 comments 4 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
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
go, php, wordpress
Domain
cli

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.

Description

enhancement
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
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.