Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

bem init command? to create working directory for bem project #248

Open
qfox opened this issue Sep 20, 2012 · 3 comments
Open

bem init command? to create working directory for bem project #248

qfox opened this issue Sep 20, 2012 · 3 comments

Comments

@qfox
Copy link

qfox commented Sep 20, 2012

bem init :name command which could create :name/{.bem/make.js,:name/.bem/.level.js} etc. and do some prepares to start creating levels and blocks. Correct me if need with paths.

bem init my-new-kewl-proj # "." by default, creates basic paths tree or internal container (if non-fs storage will be created)
bem create level app/bemyeah/{blocks,blocks-desktop,blocks-touch} # creates all levels compared to mkdir
bem create block -l app/bemyeah/{blocks,blocks-touch} b-page -t css -t js # creates block in all levels
...

p.s. Can I add some aliases or commands by self like in git with git-* executable files? How?

@qfox
Copy link
Author

qfox commented Sep 20, 2012

Btw. It could pull (or create needed files for make) basic blocks like bem-bl from rep (or blocks rep in future?) to specific path.
And also it could add (or show) paths for .gitignore or add svn:ignore to :name path if cvs exists and possible to do that.

@vithar
Copy link
Contributor

vithar commented Dec 30, 2015

How to move this issue to bem-incubator/bem-tools-init ?

@awinogradov
Copy link

@vithar you should select all text in description and press cmd+c, then create new issue in bem-incubator/bem-tools-init and press cmd+v ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants