roots / trellis-cli

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

Alias command: Support non-default `public_path` for sites #345

Closed retlehs closed 1 year ago

retlehs commented 1 year ago

Summary

Trellis supports setting the public_path on a site to change the default web/ directory to something else

trellis-cli should support detecting the correct public_path for a site instead of assuming web

https://github.com/roots/trellis-cli/blob/52eec8f0da5213432abd108932df172361a6fac2/cmd/files/playbooks/alias_template.yml.j2