Start work on porting diff kitten

This commit is contained in:
Kovid Goyal
2023-03-15 15:32:55 +05:30
parent cb03168957
commit 44ff6bd1dd
5 changed files with 27 additions and 3 deletions

19
tools/cmd/diff/main.go Normal file
View File

@@ -0,0 +1,19 @@
// License: GPLv3 Copyright: 2023, Kovid Goyal, <kovid at kovidgoyal.net>
package diff
import (
"fmt"
"kitty/tools/cli"
)
var _ = fmt.Print
func main(_ *cli.Command, opts *Options, args []string) (rc int, err error) {
return
}
func EntryPoint(parent *cli.Command) {
create_cmd(parent, main)
}

View File

@@ -9,6 +9,7 @@ import (
"kitty/tools/cmd/ask"
"kitty/tools/cmd/at"
"kitty/tools/cmd/clipboard"
"kitty/tools/cmd/diff"
"kitty/tools/cmd/edit_in_kitty"
"kitty/tools/cmd/hints"
"kitty/tools/cmd/hyperlinked_grep"
@@ -46,6 +47,8 @@ func KittyToolEntryPoints(root *cli.Command) {
ask.EntryPoint(root)
// hints
hints.EntryPoint(root)
// hints
diff.EntryPoint(root)
// themes
themes.EntryPoint(root)
// __pytest__