We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6282a46 commit 123a115Copy full SHA for 123a115
tools/cmd/main.go
@@ -11,7 +11,7 @@ import (
11
"kitty/tools/cmd/tool"
12
)
13
14
-func main() {
+func KittenMain(args ...string) {
15
krm := os.Getenv("KITTY_KITTEN_RUN_MODULE")
16
os.Unsetenv("KITTY_KITTEN_RUN_MODULE")
17
switch krm {
@@ -31,5 +31,9 @@ func main() {
31
tool.KittyToolEntryPoints(root)
32
completion.EntryPoint(root)
33
34
- root.Exec()
+ root.Exec(args...)
35
+}
36
+
37
+func main() {
38
+ KittenMain()
39
}
0 commit comments