diff --git a/docs/3.x.x/en/cli/CLI.md b/docs/3.x.x/en/cli/CLI.md index 6a9cef2c2e..ab3a66883f 100644 --- a/docs/3.x.x/en/cli/CLI.md +++ b/docs/3.x.x/en/cli/CLI.md @@ -11,7 +11,7 @@ Create a new project ```bash strapi new -options: [--dev] +options: [--dev|--dbclient --dbhost --dbport --dbname --dbusername --dbpassword ] ``` - **strapi new <name>**
@@ -20,6 +20,10 @@ options: [--dev] - **strapi new <name> --dev**
Generates a new project called **<name>** and creates symlinks for the `./admin` folder and each plugin inside the `./plugin` folder. It means that the Strapi's development workflow has been set up on the machine earlier. +- **strapi new <name> --dbclient <dbclient> --dbhost <dbhost> --dbport <dbport> --dbname <dbname> --dbusername <dbusername> --dbpassword <dbpassword>**
+ Generates a new project called **<name>** and skip the interactive database configuration and initilize with these options. **<dbclient>** can be `mongo`, `postgres`, `mysql`, `sqlite3` or `redis`. **<dbusername>** and **<dbpassword>** are optional. + + See the [CONTRIBUTING guide](https://github.com/strapi/strapi/blob/master/CONTRIBUTING.md) for more details. ***