main: validate resolved config file extensions for run

This commit is contained in:
Meo597 committed 2026-10-15 07:56:35 +08:00
1 parent 74456ca5e9
commit ecd8719d98
5 files changed
+127 -4

No files matched your search

+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