Skip to content

Commit 3d372fe

Browse files
committed
chore: update readme
1 parent a73f7a4 commit 3d372fe

File tree

1 file changed

+6
-27
lines changed

1 file changed

+6
-27
lines changed

README.md

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -68,28 +68,9 @@ for projects and enter:
6868
With leaf 3:
6969

7070
```sh
71-
leaf create <project-name> --v3
72-
```
73-
74-
With leaf 2:
75-
76-
```sh
77-
leaf create <project-name> --v2
78-
```
79-
80-
If no version is passed in, leaf CLI will prompt you to select a version to use in your leaf app.
81-
82-
```bash
8371
leaf create <project-name>
8472
```
8573

86-
```sh
87-
* Select a version to use
88-
[0] v3
89-
[1] v2
90-
>
91-
```
92-
9374
This will now prompt you to select a preset
9475

9576
```sh
@@ -99,16 +80,14 @@ Creating a new Leaf app "<project-name>" in ./projects-directory.
9980
[0] leaf
10081
[1] leaf mvc
10182
[2] leaf api
102-
[3] skeleton
10383
>
10484
```
10585

106-
Selecting a number will generate a leaf app based on the associated preset. As you can see, there are 4 presets:
86+
Selecting a number will generate a leaf app based on the associated preset. As you can see, there are 3 presets:
10787

108-
- **Leaf**: a bare leaf project
109-
- **Leaf MVC**: a leaf MVC project with leaf 2
110-
- **Leaf API**: a leaf API project with leaf 2
111-
- **Skeleton**: a leaf skeleton project
88+
- **Leaf**: a bare leaf 3 project
89+
- **Leaf MVC**: a leaf MVC project with leaf 3
90+
- **Leaf API**: a leaf API project with leaf 3
11291

11392
You can also pick a preset directly without going through the interactive installer.
11493

@@ -130,10 +109,10 @@ leaf create <project-name> --api
130109
leaf create <project-name> --mvc
131110
```
132111

133-
**Leaf Skeleton:**
112+
You can also add `--custom` for a fully customisable leaf project.
134113

135114
```bash
136-
leaf create <project-name> --skeleton
115+
leaf create <project-name> --custom
137116
```
138117

139118
### Installing packages

0 commit comments

Comments
 (0)