Skip to content

Commit 003cd09

Browse files
committed
docs: Update the README for the cli for BEM conversion.
1 parent a11d572 commit 003cd09

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

packages/@css-blocks/cli/README.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,26 @@ or run without installation:
1515
npx @css-blocks/cli validate blocks/*.block.css
1616
```
1717

18+
```
19+
npx @css-blocks/cli convert my-bem-file.css
20+
```
21+
1822
## Usage
1923

2024
```
2125
css-blocks <cmd> [options] block-dir-or-file...
2226
2327
Commands:
2428
css-blocks validate <blocks..> Validate block file syntax.
29+
css-blocks convert <files..> Convert BEM syntax to block file syntax.
2530
2631
Options:
27-
--version Show version number
28-
--preprocessors A JS file that exports an object that maps extensions to a preprocessor function for that type.
29-
--npm Allow importing from node_modules
30-
--alias Define an import alias. Requires two arguments: an alias and a directory.
31-
--help Show help
32+
--version Show version number [boolean]
33+
--preprocessors A JS file that exports an object that maps [string]
34+
extensions to a preprocessor function for that type.
35+
--npm Allow importing from node_modules [boolean]
36+
--alias Define an import alias. Requires two arguments: [array]
37+
an alias and a directory.
38+
--help Show help [boolean]
3239
3340
```

0 commit comments

Comments
 (0)