Skip to content

Commit 2d018c2

Browse files
committed
fix(init): don't claim init creates a Node project
1 parent e55c38f commit 2d018c2

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tools/cds-cli.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,19 @@ Use `cds help <command>` or `cds <command> ?` to get specific help:
8888

8989
Use `cds init` to create new projects.
9090

91-
The simplest form creates a minimal Node.js project. For Java, use
91+
The simplest form creates a minimal project.
92+
In addition, you can add (most of) the project 'facets' from [below](#cds-add) right when creating the project.
93+
For example to create a Node.js project with a sample bookshop model and configuration for SAP HANA, use:
9294

9395
```sh
94-
cds init --java
96+
cds init --nodejs --add sample,hana
9597
```
9698

97-
In addition, you can add (most of) the project 'facets' from [below](#cds-add) right when creating the project.
98-
For example to create a project with a sample bookshop model and configuration for SAP HANA, use:
99+
To create just a basic Node.js or Java project, use
99100

100101
```sh
101-
cds init --nodejs --add sample,hana
102+
cds init --nodejs # OR
103+
cds init --java
102104
```
103105

104106
::: details See the full help text of `cds init`

0 commit comments

Comments
 (0)