Add autocomplete

This commit is contained in:
byunghwa.yun
2021-08-03 00:25:44 +09:00
parent 2ae9705442
commit bdc7730fdb
5 changed files with 121 additions and 0 deletions

View File

@@ -46,6 +46,11 @@ func main() {
glog.MaxSize = 1024 * 1024 * 32
rand.Seed(time.Now().UnixNano())
flag.Usage = usage
if command.AutocompleteMain(commands) {
return
}
flag.Parse()
args := flag.Args()