kitty/tools/cmd/main.go
Kovid Goyal 654bd23109
DRYer
2022-11-14 15:42:03 +05:30

21 lines
460 B
Go

// License: GPLv3 Copyright: 2022, Kovid Goyal, <kovid at kovidgoyal.net>
package main
import (
"kitty/tools/cli"
"kitty/tools/cmd/completion"
"kitty/tools/cmd/tool"
)
func main() {
root := cli.NewRootCommand()
root.ShortDescription = "Fast, statically compiled implementations for various kitty command-line tools"
root.Usage = "command [command options] [command args]"
tool.KittyToolEntryPoints(root)
completion.EntryPoint(root)
root.Exec()
}