Move caching implementation to Python

Less code, more performant since the cache is used from Python.
And we can make the Go code a pure image format conversion filter.
This commit is contained in:
Kovid Goyal
2024-07-23 13:37:53 +05:30
parent eaf71d1ccf
commit 8201f0dd0e
7 changed files with 246 additions and 309 deletions

View File

@@ -104,8 +104,8 @@ func KittyToolEntryPoints(root *cli.Command) {
return confirm_and_run_shebang(args)
},
})
// __render_image__
images.RenderEntryPoint(root)
// __convert_image__
images.ConvertEntryPoint(root)
// __generate_man_pages__
root.AddSubCommand(&cli.Command{
Name: "__generate_man_pages__",