File tree 1 file changed +12
-5
lines changed
1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,26 @@ or run without installation:
15
15
npx @css-blocks/cli validate blocks/*.block.css
16
16
```
17
17
18
+ ```
19
+ npx @css-blocks/cli convert my-bem-file.css
20
+ ```
21
+
18
22
## Usage
19
23
20
24
```
21
25
css-blocks <cmd> [options] block-dir-or-file...
22
26
23
27
Commands:
24
28
css-blocks validate <blocks..> Validate block file syntax.
29
+ css-blocks convert <files..> Convert BEM syntax to block file syntax.
25
30
26
31
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]
32
39
33
40
```
You can’t perform that action at this time.
0 commit comments