trellis-cli
trellis-cli copied to clipboard
Feature Request: generate .vault_pass for existing sites
Terms
- [X] I have read the guidelines for Contributing to Roots Projects
- [X] This request is not a duplicate of an existing issue
- [X] This is not a personal support request that should be posted on the Roots Discourse community
Summary
./trellis/.vault_pass is required for the trellis dotenv task to run. It'd be great if the dotenv command either:
- Automatically generates
./trellis/.vault_passif missing duringtrellis initORtrellis dotenv - Or throws an error message that informs the user to create one before running the task
Motivation
trellis new creates the ./trellis/.vault_pass but it isn't a commited file, so when a new user clones the repo/project + runs trellis init the vault pass is not created, leading to the error below.
Additional Context
Current error message from trellis dotenv on a project without a .vault_pass file
