Closed jifeon closed 9 years ago
You can use bem create -l desktop.blocks -b page-my-super-page
.
It's cool in spite of length :) But I still have to add a block to index.bemdecl What about some shortcuts, for example:
$ bnsf page my-super-page
?
By the way bem create -l ...
create files of other types.. It is absolutely useless
bem create -l ...
creates files that you specified in your project. If you work in bnsf-adwiki
just pull my changes to see.
Well, it's greate to have a CLI interface to automate all the boring things. May be, I'll write some wrapper around bem create
. I'll think about it.
ня :)
How the hell did you know about my private repos?! ))
Can we build index.bemdecl automatically? Really, I can't imagine situation when someone creates a page and do not want to include them to build. If something is unnecessary it should be removed from a project.
I've created a generator: https://github.com/apsavin/generator-bnsf
Creating new pages a so boooooring. Can I do something like this:
?