瀏覽代碼

update readme for cli

nikogu 8 年之前
父節點
當前提交
737830a04f
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      README.md
  2. 1 1
      README.zh-CN.md

+ 1 - 1
README.md

@@ -71,7 +71,7 @@ Or you can use the command tool: [ant-design-pro-cli](https://github.com/ant-des
 ```bash
 $ npm install ant-design-pro-cli -g
 $ mkdir pro-demo && cd pro-demo
-$ pro init
+$ pro new
 ```
 
 More instruction at [documentation](http://pro.ant.design/docs/getting-started)。

+ 1 - 1
README.zh-CN.md

@@ -71,7 +71,7 @@ $ npm start         # 访问 http://localhost:8000
 ```bash
 $ npm install ant-design-pro-cli -g
 $ mkdir pro-demo && cd pro-demo
-$ pro init
+$ pro new
 ```
 
 更多信息请参考 [使用文档](http://pro.ant.design/docs/getting-started)。