mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 22:44:50 +02:00
Get rid of the cobra dependency
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user