roots / trellis-cli

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

❤️ as a developer i need to generate new salts in vaults for each environment when cloning a template repo using radicle/trellis so we can have better boilerplates #426

Open chrillep opened 9 months ago

chrillep commented 9 months ago

Summary

when using radicle/trellis boilerplates. I need a way to generate new salts in vaults for each environment. Is there functionality for this? I'm always open to the possibility that ive missed something.

example command trellis salts generate

refs

Additional context

No response

swalkinshaw commented 9 months ago

🤔 yeah good point. It's only available as part of trellis new right now.

Since the salts are only generated in a vault file, it might make more sense to have this as a trellis vault command? eg: trellis vault new?

Or maybe a broader trellis environment add command which would create the other necessary files that new usually takes care of as well?

chrillep commented 9 months ago

that makes sense! i mean this all came about when trying to automate tasks. :)