From d022d1f1d4a526b7929a89249700345ad8484b4a Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Mon, 18 Jan 2021 17:10:49 +0000 Subject: [PATCH] lambo, lambo-new: add page (#5139) --- pages/common/lambo-new.md | 36 ++++++++++++++++++++++++++++++++++++ pages/common/lambo.md | 21 +++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 pages/common/lambo-new.md create mode 100644 pages/common/lambo.md diff --git a/pages/common/lambo-new.md b/pages/common/lambo-new.md new file mode 100644 index 0000000000..92e0cf606c --- /dev/null +++ b/pages/common/lambo-new.md @@ -0,0 +1,36 @@ +# lambo new + +> A super-powered `laravel new` for Laravel and Valet. +> More information: . + +- 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}}` diff --git a/pages/common/lambo.md b/pages/common/lambo.md new file mode 100644 index 0000000000..1c556d680d --- /dev/null +++ b/pages/common/lambo.md @@ -0,0 +1,21 @@ +# lambo + +> A super-powered `laravel new` for Laravel and Valet. +> See also `lambo new` for additional command flags. +> More information: . + +- 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`