Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add destination site if it doesn't already exist based on the source upstream #14

Open
uberhacker opened this issue Nov 9, 2018 · 3 comments

Comments

@uberhacker
Copy link

In order to use this plugin, I needed to create a new "empty" site first before I could clone. It would be nice to remove this requirement to avoid the extra manual step.

@ataylorme
Copy link
Contributor

Thank you for the feature request @uberhacker. However, it is not something I plan on implementing in the short term. Creating a site is easy enough but terminus site:create has a variety of arguments, such as organization, that simply creating a site with the name given in the destination, if it doesn't exist, would not cover.

@uberhacker
Copy link
Author

Hey @ataylorme: So what you are saying is there may be a scenario where someone wants to clone a site from one organization to another? I guess that makes sense. Maybe add in the help to manually run terminus site:create if the site doesn't already exist for those of us not bright enough to figure that out before running the terminus site:clone command? I'm talking about simpletons like myself. ;)

@ataylorme
Copy link
Contributor

👍a helpful error message sounds good.

We could also probably prompt for a site to be created if the destination does not exist, whether the new site should be in an org, etc. That is a larger chunk of work than I have time for at the moment though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants