main: validate resolved config file extensions for run

This commit is contained in:
Meo597
2026-10-15 07:56:35 +08:00
parent 74456ca5e9
commit ecd8719d98
5 changed files with 127 additions and 4 deletions
+2
View File
@@ -4,6 +4,8 @@ package base
type CommandEnvHolder struct {
// Executable name of current binary
Exec string
// Full name of the command being executed
CommandName string
// commands column width of current command
CommandsWidth int
}
+1
View File
@@ -61,6 +61,7 @@ BigCmdLoop:
}
buildCommandText(cmd)
CommandEnv.CommandName = cmdName
cmd.Run(cmd, args)
Exit()
return