This PR adds functionality (requested in #4438) to sites:create-template wherein after cloning the newly created repo, the cli will prompt the user asking if they'd like to link the directory to the cloned repo.
This is what the user saw before our changes:
This is the dialog the user sees with our changes:
This PR also contains tests for the new functionality and error handling, including in the case of a site already being linked to a parent directory.
For us to review and ship your PR efficiently, please perform the following steps:
[ ] Open a bug/issue before writing your code π§βπ». This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire π₯ (e.g. incident related), you can skip this step.
[ ] Read the contribution guidelines π. This ensures your code follows our style guide and
passes our tests.
[ ] Update or add tests (if any source code was changed or added) π§ͺ
[ ] Update or add documentation (if features were changed or added) π
[ ] Make sure the status checks below are successful β
A picture of a cute animal (not mandatory, but encouraged)
β¦lify site
π Thanks for submitting a pull request! π
Summary
Fixes #4438
This PR adds functionality (requested in #4438) to
sites:create-template
wherein after cloning the newly created repo, the cli will prompt the user asking if they'd like to link the directory to the cloned repo.This is what the user saw before our changes:
This is the dialog the user sees with our changes:
This PR also contains tests for the new functionality and error handling, including in the case of a site already being linked to a parent directory.
For us to review and ship your PR efficiently, please perform the following steps:
A picture of a cute animal (not mandatory, but encouraged)