if not in interactive, check a script was passed

This commit is contained in:
2025-12-16 16:45:15 +00:00
parent eb3af982da
commit be58d6a9e5
2 changed files with 8 additions and 2 deletions

View File

@@ -15,11 +15,13 @@ You may pass the following optional flags:
for example:
`powershell.exe .\CLI.ps1 -o -k "banana" -s "strip[0].mute", "!strip[0].mute", "strip[0].mute", "bus[2].eq.on=1", "command.lock=1"`
```powershell
.\CLI.ps1 -o -k "banana" -s "strip[0].mute", "!strip[0].mute", "strip[0].mute", "bus[2].eq.on=1", "command.lock=1"
```
Expected output:
```
```powershell
Getting strip[0].mute
strip[0].mute = 0
Toggling strip[0].mute