feat(az): configure the az CLI against floci-az with floci az setup (#29)

This commit is contained in:
Hector Ventura authored and GitHub committed 2026-10-08 21:29:02 -05:00
1 parent dd38f6dc27
commit 7b58a38c5a
27 files changed
+1587 -12

No files matched your search

@@ -25,4 +25,13 @@ public final class ShellExport {
default -> "export " + key + "='" + value.replace("'", "'\\''") + "'";
};
}
/** Renders the line that removes {@code key} from the environment in the given shell. */
public static String formatUnset(String shell, String key) {
return switch (shell.toLowerCase()) {
case "fish" -> "set -e " + key;
case "powershell", "ps1" -> "Remove-Item Env:" + key + " -ErrorAction SilentlyContinue";
default -> "unset " + key;
};
}
}