Skip to content

Commit

Permalink
Show how to access positional arguments with powershell (#2405)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Oct 1, 2024
1 parent 45fdd12 commit a101dd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,10 @@ positional arguments work as expected:

```just
set shell := ['pwsh.exe', '-CommandWithArgs']
set positional-arguments
print-args a b c:
Write-Output @($args[1..($args.Count - 1)])
```

#### Shell
Expand Down

0 comments on commit a101dd5

Please sign in to comment.