PowerShell -Command does not forward argv elements after the command string to the script — they are treated as top-level PowerShell args and silently dropped. Using -File passes remaining args as positional parameters ($1, $2, …) to the script, so e.g. `ao doctor --fix` correctly reaches the script on Windows. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| commands | ||
| lib | ||
| options | ||
| scripts | ||
| index.test.ts | ||
| lifecycle-service.test.ts | ||
| program.test.ts | ||