Confirm and run tool

This commit is contained in:
Kovid Goyal
2025-03-20 13:35:12 +05:30
parent d82edad2be
commit 191ea16cd7
2 changed files with 39 additions and 0 deletions

View File

@@ -108,6 +108,16 @@ func KittyToolEntryPoints(root *cli.Command) {
return run_shebang(args)
},
})
// __confirm_and_run_exe__
root.AddSubCommand(&cli.Command{
Name: "__confirm_and_run_exe__",
Hidden: true,
OnlyArgsAllowed: true,
Run: func(cmd *cli.Command, args []string) (rc int, err error) {
return confirm_and_run_exe(args)
},
})
// __convert_image__
images.ConvertEntryPoint(root)
// __atexit__