{"action":"closed","issue":{"url":"https://api.github.com/repos/dvajs/dva-cli/issues/1","repository_url":"https://api.github.com/repos/dvajs/dva-cli","labels_url":"https://api.github.com/repos/dvajs/dva-cli/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dvajs/dva-cli/issues/1/comments","events_url":"https://api.github.com/repos/dvajs/dva-cli/issues/1/events","html_url":"https://github.com/dvajs/dva-cli/issues/1","id":167020439,"number":1,"title":"Commands","user":{"login":"sorrycc","id":35128,"avatar_url":"https://avatars.githubusercontent.com/u/35128?v=3","gravatar_id":"","url":"https://api.github.com/users/sorrycc","html_url":"https://github.com/sorrycc","followers_url":"https://api.github.com/users/sorrycc/followers","following_url":"https://api.github.com/users/sorrycc/following{/other_user}","gists_url":"https://api.github.com/users/sorrycc/gists{/gist_id}","starred_url":"https://api.github.com/users/sorrycc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorrycc/subscriptions","organizations_url":"https://api.github.com/users/sorrycc/orgs","repos_url":"https://api.github.com/users/sorrycc/repos","events_url":"https://api.github.com/users/sorrycc/events{/privacy}","received_events_url":"https://api.github.com/users/sorrycc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-22T10:52:30Z","updated_at":"2016-12-14T07:18:45Z","closed_at":"2016-12-14T07:18:45Z","body":"> 先提供一个初始版本，让 dva 能 run 起来。\n## Commands\n### dva init\n\n提供两套模板，一套极简，用于简单 demo，另一套基于我们的最佳实践组织。\n\n``` bash\n$ mkdir myApp && cd myApp\n$ dva init\n```\n\n``` bash\n$ dva init --demo\n```\n### dva new\n\n参数与 `dva init` 相同，不同的是会创建目录并在新目录下初始化。\n\n``` bash\n$ dva new myApp\n```\n### dva generate\n\n用于细粒度文件的生成，**下个版本支持**。\n\n``` bash\n$ dva generate model user\n```\n"}}
{"actor":{"display_login":"sorrycc"}}