mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00:00
Add an entry point for the completion tool
This commit is contained in:
parent
f4de6d2a10
commit
005a9c7090
4 changed files with 183 additions and 59 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue