Skip to content

Commit ef7d856

Browse files
committed
Add upgrade section in readme
1 parent bd9f521 commit ef7d856

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Commands:
2828
config Display/set the configurations
2929
use Shorthand to fetch and use a custom version of css-doodle
3030
parse Print the parsed tokens, helped to debug on development
31+
upgrade Upgrade CLI to the latest version
3132
```
3233

3334
## Commands
@@ -37,7 +38,7 @@ Generate an image from the css-doodle source file. It'll read from STDIN if no s
3738

3839
* `-o, --output`: Custom output filename of the generated image.
3940
* `-x, --scale`: Scale factor of the generated image, defaults to 1.
40-
41+
4142
```bash
4243
cssd render
4344
cssd render code.css
@@ -80,7 +81,7 @@ Display/set the configurations in key/value pairs. Currently only two configurat
8081

8182
Recognizable configurations:
8283

83-
* `browserPath`: The path to the browser executable.
84+
* `browserPath`: The path to the browser executable.
8485
* `css-doodle`: The path to the css-doodle to use.
8586

8687
```bash
@@ -101,7 +102,7 @@ cssd config set css-doodle 0.40.6
101102
```
102103

103104
### use
104-
Shorthand of `cssd config set css-doodle <version>`.
105+
Shorthand of `cssd config set css-doodle <version>`.
105106

106107
```bash
107108
cssd use css-doodle@0.40.6
@@ -110,3 +111,10 @@ cssd use css-doodle@0.40.6
110111
cssd use 0.40.6
111112
cssd use latest
112113
```
114+
115+
### upgrade
116+
Upgrade CLI to the latest version.
117+
118+
```bash
119+
cssd upgrade
120+
```

0 commit comments

Comments
 (0)