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: Add Git Repo in larasail new #88

Open
SamuelMwangiW opened this issue Feb 10, 2022 · 0 comments
Open

Feature: Add Git Repo in larasail new #88

SamuelMwangiW opened this issue Feb 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@SamuelMwangiW
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

It would be amazing to pass a git repository while initiating a new project. This would make it easy to provision a test environment for an existing app.

Describe the solution you'd like

For new repositories, --git parameter would be passed through to laravel new project --git.
If --repo (or repository) is passed, then a git clone is performed instead of `larasail new project.tld.

Alternatively, we can have a command different from new e.g deploy to avoid complicating new to support params such as --dev (can be used to determine if to --no-dev in composer install and determine the npm script to run)

Additional context

Every application environment is different to the next therefore this will be sufficient for everyone.
Would love to hear additional thoughts and if this is a desired feature in the first place.

@SamuelMwangiW SamuelMwangiW added the enhancement New feature or request label Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant