{"action":"created","issue":{"url":"https://api.github.com/repos/bem/bem-tools/issues/248","labels_url":"https://api.github.com/repos/bem/bem-tools/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/bem/bem-tools/issues/248/comments","events_url":"https://api.github.com/repos/bem/bem-tools/issues/248/events","html_url":"https://github.com/bem/bem-tools/issues/248","id":7027570,"number":248,"title":"bem init command? to create working directory for bem project","user":{"login":"zxqfox","id":677518,"avatar_url":"https://avatars.githubusercontent.com/u/677518?v=3","gravatar_id":"","url":"https://api.github.com/users/zxqfox","html_url":"https://github.com/zxqfox","followers_url":"https://api.github.com/users/zxqfox/followers","following_url":"https://api.github.com/users/zxqfox/following{/other_user}","gists_url":"https://api.github.com/users/zxqfox/gists{/gist_id}","starred_url":"https://api.github.com/users/zxqfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxqfox/subscriptions","organizations_url":"https://api.github.com/users/zxqfox/orgs","repos_url":"https://api.github.com/users/zxqfox/repos","events_url":"https://api.github.com/users/zxqfox/events{/privacy}","received_events_url":"https://api.github.com/users/zxqfox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bem/bem-tools/labels/backlog","name":"backlog","color":"ededed"},{"url":"https://api.github.com/repos/bem/bem-tools/labels/prio:low","name":"prio:low","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2012-09-20T22:56:07Z","updated_at":"2015-12-30T20:24:01Z","closed_at":null,"body":"`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.\n```sh\nbem init my-new-kewl-proj # \".\" by default, creates basic paths tree or internal container (if non-fs storage will be created)\nbem create level app/bemyeah/{blocks,blocks-desktop,blocks-touch} # creates all levels compared to mkdir\nbem create block -l app/bemyeah/{blocks,blocks-touch} b-page -t css -t js # creates block in all levels\n...\n```\n\np.s. Can I add some aliases or commands by self like in git with git-* executable files? How?"},"comment":{"url":"https://api.github.com/repos/bem/bem-tools/issues/comments/168068192","html_url":"https://github.com/bem/bem-tools/issues/248#issuecomment-168068192","issue_url":"https://api.github.com/repos/bem/bem-tools/issues/248","id":168068192,"user":{"login":"vithar","id":171723,"avatar_url":"https://avatars.githubusercontent.com/u/171723?v=3","gravatar_id":"","url":"https://api.github.com/users/vithar","html_url":"https://github.com/vithar","followers_url":"https://api.github.com/users/vithar/followers","following_url":"https://api.github.com/users/vithar/following{/other_user}","gists_url":"https://api.github.com/users/vithar/gists{/gist_id}","starred_url":"https://api.github.com/users/vithar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vithar/subscriptions","organizations_url":"https://api.github.com/users/vithar/orgs","repos_url":"https://api.github.com/users/vithar/repos","events_url":"https://api.github.com/users/vithar/events{/privacy}","received_events_url":"https://api.github.com/users/vithar/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T20:24:01Z","updated_at":"2015-12-30T20:24:01Z","body":"How to move this issue to bem-incubator/bem-tools-init ?"}}