feat: add intune shell wrapper

./intune starts the launcher without typing pwsh. ./intune <Script> [args]
runs Scripts/<Script>.ps1 or .py. Resolves symlinks so it can be linked
onto PATH; reports a missing pwsh/python3 and lists scripts for an unknown
name.
This commit is contained in:
2026-11-24 12:27:15 +01:00
parent 1733c22c86
commit b8e333f92d
3 changed files with 43 additions and 0 deletions
+6
View File
@@ -1,5 +1,11 @@
# macOS Intune Toolkit Changelog
## 2026-11-24 — v4.5.2 — Shell wrapper
### Added
- **`intune`** (repo root, bash)
- Start the toolkit without typing `pwsh`: `./intune` opens the launcher, `./intune -TenantId <id>` passes parameters to it, and `./intune <Script> [args]` runs any `Scripts/<Script>.ps1` or `.py` (e.g. `intune Export-Policies -TenantId <id> -ExportPath ~/out`, `intune Compare-Tenants --root-a ... --root-b ...`). Resolves symlinks, so `ln -s "$PWD/intune" ~/.local/bin/intune` works from anywhere. Prints a clear message when `pwsh` or `python3` is missing and lists available scripts for an unknown name.
## 2026-11-24 — v4.5.1 — Full tenant export menu entry
### Added