mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 15:35:03 +02:00
Start work on porting diff kitten
This commit is contained in:
19
tools/cmd/diff/main.go
Normal file
19
tools/cmd/diff/main.go
Normal 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)
|
||||
}
|
||||
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user