updates to add AI packages and an opt out of AI flag

This commit is contained in:
2026-05-25 12:07:14 -05:00
parent f6fdb3f6ae
commit 8f11c8d68b
5 changed files with 88 additions and 2 deletions
+7
View File
@@ -33,6 +33,7 @@ func main() {
only := flag.String("only", "", "Install only the named section (system|flatpak|custom)")
gui := flag.Bool("gui", false, "Include GUI applications (headed environments).")
noVM := flag.Bool("no-vm", false, "macOS only: skip provisioning the Fedora-on-QEMU VM that backs the firecracker() zsh wrapper.")
noAI := flag.Bool("no-ai", false, "Skip installation of LLM/AI CLI tools (agy, claude, codex, copilot).")
flag.Parse()
switch *only {
@@ -54,6 +55,12 @@ func main() {
if isMacOS && strings.ToLower(custom[i].Name) == "firecracker" {
continue
}
if *noAI {
name := strings.ToLower(custom[i].Name)
if name == "agy" || name == "claude" || name == "codex" || name == "copilot" {
continue
}
}
customPtrs = append(customPtrs, &custom[i])
}