We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfe36d0 commit c3d924aCopy full SHA for c3d924a
bin/cli.ts
@@ -40,7 +40,10 @@ async function main() {
40
// PowerShell: -- was stripped, everything after 'complete' is what we want
41
const completion = new PackageManagerCompletion(packageManager);
42
await setupCompletionForPackageManager(packageManager, completion);
43
- const toComplete = args.slice(2);
+ let toComplete = args.slice(2);
44
+ // Always append -- for PowerShell (it was stripped from the input)
45
+ // This ensures option completion works correctly
46
+ toComplete.push('--');
47
await completion.parse(toComplete);
48
process.exit(0);
49
} else {
0 commit comments