bem-tools / bem-tools-create

bem create command
Other
32 stars 4 forks source link

Support one extention in curly braces #3

Closed tadatuta closed 8 years ago

tadatuta commented 8 years ago

bem create b1.{ext} results with b1.{ext} file created but b1.ext expected

vithar commented 8 years ago

b1.ext is not expected here. Module brace-expansion mimics bash behavior:

touch b.{css,js} b.{ext} && ls -la b* -rw-r--r-- 1 vitaly admin 0 3 янв 10:24 b.css -rw-r--r-- 1 vitaly admin 0 3 янв 10:24 b.js -rw-r--r-- 1 vitaly admin 0 3 янв 10:24 b.{ext}

I think we should do the same.

tadatuta commented 8 years ago

sounds reasonable