larasail icon indicating copy to clipboard operation
larasail copied to clipboard

Feature: Add Git Repo in larasail new

Open SamuelMwangiW opened this issue 3 years ago • 0 comments

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 avatar Feb 10 '22 17:02 SamuelMwangiW