dev: automated commit - 2025-07-15 23:20:30

This commit is contained in:
Mariano Z. 2025-07-15 23:20:30 -03:00
parent 33106ea4a6
commit 71cda52613
8 changed files with 770 additions and 696 deletions

28
types.go Normal file
View file

@ -0,0 +1,28 @@
package main
const (
Red = "\033[0;31m"
Green = "\033[0;32m"
Blue = "\033[0;34m"
Yellow = "\033[0;33m"
Purple = "\033[0;35m" // For elevated scripts
NC = "\033[0m"
)
type Config struct {
LogsDir string
RunsDir string
DryRun bool
Verbose bool
Interactive bool
}
type Script struct {
Path string // Full filesystem path
Name string // Just filename (e.g. "install.sh")
RelPath string // Relative path from runs/ (e.g. "tools/install.sh")
Desc string // Description from script comment
RequiresSudo bool // Whether script needs elevated privileges
}
var config Config