mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-12 11:39:33 +02:00
Add an entry point for the completion tool
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
"kitty/tools/cli"
|
||||
"kitty/tools/cmd/at"
|
||||
"kitty/tools/completion"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -18,6 +19,8 @@ func main() {
|
||||
})
|
||||
root.AddCommand(at.EntryPoint(root))
|
||||
|
||||
root.AddCommand(completion.EntryPoint(root))
|
||||
|
||||
cli.Init(root)
|
||||
if err := cli.Execute(root); err != nil {
|
||||
cli.PrintError(err)
|
||||
|
||||
Reference in New Issue
Block a user