Get rid of the cobra dependency

This commit is contained in:
Kovid Goyal
2022-09-25 12:23:52 +05:30
parent cbc569af64
commit 4396dede85
13 changed files with 154 additions and 493 deletions

View File

@@ -4,7 +4,7 @@ package main
import (
"kitty/tools/cli"
_ "kitty/tools/cmd/at"
"kitty/tools/cmd/at"
"kitty/tools/completion"
)
@@ -12,8 +12,9 @@ func main() {
root := cli.NewRootCommand()
root.ShortDescription = "Fast, statically compiled implementations for various kitty command-line tools"
root.Usage = "command [command options] [command args]"
// root.AddCommand(at.EntryPoint(root))
at.EntryPoint(root)
completion.EntryPoint(root)
root.Exec()
}