Skip to content
This repository has been archived by the owner on Sep 17, 2020. It is now read-only.

Latest commit

 

History

History

model

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

モデルのフォーマット

{
  "cmd1":{
    "type":"command",
    "des":"コマンドの説明です",
    "val":"cmd",
    "predict":true,
    "@next":{
        "cmd2":{...},
        "cmd3":{...}
    }
  }
}
item Descripion
cmd コマンドの要素(git,brew,-aなど)
des コマンドの要素の説明文
val コマンドの名前
type コマンドの要素の種類 (command,option,arg,pipeなど)
predict Try木の次ノードに遷移するかどうか
ignore predict = falseの場合のみ存在する。
現在のコマンドが選択された場合に同時に使えないコマンドの要素の名前
(findの場合-Hと-Lなど)
@next predict = trueの場合のみ存在する。
次の予測