roots / trellis-cli

A CLI to manage Trellis projects
https://roots.io/trellis/
MIT License
166 stars 25 forks source link

Add local env support to alias cmd #316

Closed swalkinshaw closed 2 years ago

swalkinshaw commented 2 years ago

Defaults to including the local env in trellis alias to include the Vagrant development environment.

For proper SSH support, this defaults to using the main host which is what Trellis configures Vagrant to use as an SSH alias name (in your SSH config).

For non-Vagrant users, or any other non-default setup, --skip-local can be used to maintain the old behaviour.