mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Confirm and run tool
This commit is contained in:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user