1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 12:45:59 +02:00

lambo, lambo-new: add page (#5139)

This commit is contained in:
Owen Voke 2021-01-18 17:10:49 +00:00 committed by GitHub
parent 3753db1d47
commit d022d1f1d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 57 additions and 0 deletions

36
pages/common/lambo-new.md Normal file
View file

@ -0,0 +1,36 @@
# lambo new
> A super-powered `laravel new` for Laravel and Valet.
> More information: <https://github.com/tighten/lambo>.
- Create a new Laravel application:
`lambo new {{app_name}}`
- Install the application in a specific path:
`lambo new --path={{path/to/directory}} {{app_name}}`
- Include authentication scaffolding:
`lambo new --auth {{app_name}}`
- Include a specific frontend:
`lambo new --{{vue|bootstrap|react}} {{app_name}}`
- Install npm dependencies after the project has been created:
`lambo new --node {{app_name}}`
- Create a Valet site after the project has been created:
`lambo new --link {{app_name}}`
- Create a new MySQL database with the same name as the project:
`lambo new --create-db --dbuser={{user}} --dbpassword={{password}} {{app_name}}`
- Open a specific editor after the project has been created:
`lambo new --editor="{{editor}}" {{app_name}}`

21
pages/common/lambo.md Normal file
View file

@ -0,0 +1,21 @@
# lambo
> A super-powered `laravel new` for Laravel and Valet.
> See also `lambo new` for additional command flags.
> More information: <https://github.com/tighten/lambo>.
- Create a new Laravel application:
`lambo new {{app_name}}`
- Open the configuration in your default editor:
`lambo edit-config`
- Open the configuration in a specific editor:
`lambo edit-config --editor="{{path/to/editor}}"`
- Open the configuration file that is run after new applications have been scaffolded:
`lambo edit-after`