#### 命令參數介紹:
//生成fa_test表的CRUD
-t test
//生成fa_test表的CRUD且一鍵生成菜單
-t test -u 1
//刪除fa_test表生成的CRUD
-t test -d 1
//生成test表的CRUD且控制器生成在二級目錄下
-t test -c mydir/test(不成功,沒有參數不成功,mydir/test沒有定義)
//生成test_log表fa_test_log表的CRUD且生成對應的控制器為testlog
-t test -c testlog
//生成fa_test表的crud且對應的模型名為testmodel
-t test -m testmodel
//生成fa_test表的crud且生成關聯模型category,外鏈為category_id,關聯表主鍵為id
-t test -r category -k category_id -p id
//生成fa_test表的CRUD且所有以list或data結尾的字段都生成復選框
php think crud -t test --setcheckboxsuffix=list --setcheckboxsuffix=data
//生成fa_test表的CRUD且所有以image和img結尾的字段都生成圖片上傳組件
php think crud -t test --imagefield=image --setcheckboxsuffix=img
-t, --table=TABLE table name without prefix表名,帶不帶前綴均可
-c, --controller[=CONTROLLER] controller name生成的控制器名,可選,默認根據表名進行自動解析
-m, --model[=MODEL] model name模型名稱
-i, --fields[=FIELDS] model visible fields模型可見字段
-f, --force[=FORCE] force override or force delete,without tips不使用提示,強制覆蓋或強制刪除
-l, --local[=LOCAL] local model [default: 1]本地模式,默認值為1
-r, --relation[=RELATION] relation table name without prefix (multiple values allowed)沒有前綴的關系表名(允許多個值)
-e, --relationmodel[=RELATIONMODEL] relation model name (multiple values allowed)關系模型的名稱(允許多個值)
-k, --relationforeignkey[=RELATIONFOREIGNKEY] relation foreign key (multiple values allowed)外鍵的關系(允許多個值)
-p, --relationprimarykey[=RELATIONPRIMARYKEY] relation primary key (multiple values allowed)主鍵的關系(允許多個值)
-s, --relationfields[=RELATIONFIELDS] relation table fields (multiple values allowed)關系表字段(允許多個值)
-o, --relationmode[=RELATIONMODE] relation table mode,hasone or belongsto (multiple values allowed)關系表模式hasOne或beLongsTo(允許多個值)
-d, --delete[=DELETE] delete all files generated by CRUD刪除CRUD生成的所有文件
-u, --menu[=MENU] create menu when CRUD completed檔CRUD完成時創建菜單
--setcheckboxsuffix[=SETCHECKBOXSUFFIX] automatically generate checkbox component with suffix (multiple values allowed)自動生成帶有后綴的復選框的組件(允許多個值)
--enumradiosuffix[=ENUMRADIOSUFFIX] automatically generate radio component with suffix (multiple values allowed)自動生成帶有后綴的單選框組件(允許多個值)
--imagefield[=IMAGEFIELD] automatically generate image component with suffix (multiple values allowed)自動生成帶有后綴的圖像組件(允許多個值)
--filefield[=FILEFIELD] automatically generate file component with suffix (multiple values allowed)自動生成帶有后綴的文件組件(允許多個值)
--intdatesuffix[=INTDATESUFFIX] automatically generate date component with suffix (multiple values allowed)自動生成帶有后綴的時間組件(允許多個值)
--switchsuffix[=SWITCHSUFFIX] automatically generate switch component with suffix (multiple values allowed)自動生成帶有后綴的開關組件
--citysuffix[=CITYSUFFIX] automatically generate citypicker component with suffix (multiple values allowed)自動生成帶有后綴的citypicker(選擇器)組件(允許多個值)
--selectpagesuffix[=SELECTPAGESUFFIX] automatically generate selectpage component with suffix (multiple values allowed)自動生成帶有后綴的下拉分頁組件(允許多個值)
--selectpagessuffix[=SELECTPAGESSUFFIX] automatically generate multiple selectpage component with suffix (multiple values allowed)自動生成帶有后綴的多個下拉組件(允許多個值)
--ignorefields[=IGNOREFIELDS] ignore fields (multiple values allowed)排除的字段(允許多個值)
--sortfield[=SORTFIELD] sort field 字段排序
--editorclass[=EDITORCLASS] automatically generate editor class自動生成編輯器類
-h, --help Display this help message顯示幫助信息
-V, --version Display this console version顯示控制臺版本
-q, --quiet Do not output any message不輸出任何消息
--ansi Force ANSI output強制ANSI輸出
--no-ansi Disable ANSI output屏蔽ANSI
-n, --no-interaction Do not ask any interactive question 拒絕請求交互問題
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug增加消息的詳情(1表示正常輸出,2表示更詳細的輸出,3表示調試命令)