roots / trellis-cli

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

Feature Request: "add" command for adding extra sites #390

Open PeterBorsboom opened 1 year ago

PeterBorsboom commented 1 year ago

Terms

Summary

Add trellis add command. This is usefull for adding new sites to an existing trellis project.

The existing trellis new command adds a complete new trellis project. It fills in a pre-configured setup. I would like to have a command that does the same but only for adding a new site to the project.

This way you dont have to copy-paste-edit the existing site. It's faster and foolproof.

Motivation

Why are we doing this?

To make it easier and foolproof to add a new sites to an existing trellis project.

What use cases does it support?

Users wanting to add more than one site to a trellis project.

What is the expected outcome?

A clean and pre-configured site setup added to the trellis project.

Potential conflicts / foreseeable issues

Check if there is a site with the same name already existing in the trellis project.

Additional Context

No response