top-think / think-ide-helper

24 stars 7 forks source link

指定目录那里建议添加个示例 #2

Open leihenshang opened 4 years ago

leihenshang commented 4 years ago

比如文件参数写的是--dir="models" [-D] 指定自动搜索模型的目录,相对于应用基础目录的路径,可指定多个,默认为app/model 建议加个例子: 比如你的的应用目录是app,而model在app中,那么指定目录为:php think ide-helper:model --dir="model",如果你的模型目录叫做bean,那么指定目录为:php think ide-helper:model --dir="bean"

leihenshang commented 4 years ago

而且就算指定了目录,mode也会被更新。。。。

yunwuxin commented 4 years ago

model这个目录都会被搜索 dir用于添加一些额外的目录