File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,19 +15,26 @@ or run without installation:
1515npx @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```
2125css-blocks <cmd> [options] block-dir-or-file...
2226
2327Commands:
2428 css-blocks validate <blocks..> Validate block file syntax.
29+ css-blocks convert <files..> Convert BEM syntax to block file syntax.
2530
2631Options:
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```
You can’t perform that action at this time.
0 commit comments