@@ -283,11 +283,11 @@ function Invoke-Aider {
283
283
. PARAMETER EditorModel
284
284
Specify the model to use for editing code.
285
285
286
- . PARAMETER Pretty
287
- Enable/disable pretty, colorized output. Defaults to $true .
286
+ . PARAMETER NoPretty
287
+ Disable pretty, colorized output.
288
288
289
- . PARAMETER Stream
290
- Enable/disable streaming responses. Defaults to $true .
289
+ . PARAMETER NoStream
290
+ Disable streaming responses.
291
291
292
292
. PARAMETER YesAlways
293
293
Automatically confirm all prompts.
@@ -301,11 +301,11 @@ function Invoke-Aider {
301
301
. PARAMETER MapRefresh
302
302
Control how often the repo map is refreshed (auto/always/files/manual).
303
303
304
- . PARAMETER AutoLint
305
- Enable/disable automatic linting after changes.
304
+ . PARAMETER NoAutoLint
305
+ Disable automatic linting after changes.
306
306
307
307
. PARAMETER AutoTest
308
- Enable/disable automatic testing after changes.
308
+ Enable automatic testing after changes.
309
309
310
310
. PARAMETER ShowPrompts
311
311
Show system prompts.
@@ -347,21 +347,19 @@ function Invoke-Aider {
347
347
param (
348
348
[Parameter (Mandatory )]
349
349
[string ]$Message ,
350
-
351
350
[Parameter (Mandatory )]
352
351
[string []]$File ,
353
-
354
352
[string ]$Model ,
355
353
[string ]$EditorModel ,
356
- [bool ] $Pretty = $true ,
357
- [bool ] $Stream = $true ,
354
+ [switch ] $NoPretty ,
355
+ [switch ] $NoStream ,
358
356
[switch ]$YesAlways ,
359
357
[switch ]$CachePrompts ,
360
358
[int ]$MapTokens = 0 ,
361
359
[ValidateSet (' auto' , ' always' , ' files' , ' manual' )]
362
360
[string ]$MapRefresh = ' manual' ,
363
- [bool ] $AutoLint = $true ,
364
- [bool ]$AutoTest = $false ,
361
+ [switch ] $NoAutoLint ,
362
+ [switch ]$AutoTest ,
365
363
[switch ]$ShowPrompts ,
366
364
[switch ]$VerboseOutput ,
367
365
[string ]$EditFormat = ' whole' ,
@@ -390,11 +388,11 @@ function Invoke-Aider {
390
388
$params += $EditorModel
391
389
}
392
390
393
- if (-not $Pretty ) {
391
+ if ($NoPretty ) {
394
392
$params += " --no-pretty"
395
393
}
396
394
397
- if (-not $Stream ) {
395
+ if ($NoStream ) {
398
396
$params += " --no-stream"
399
397
}
400
398
@@ -419,7 +417,7 @@ function Invoke-Aider {
419
417
$params += $MapRefresh
420
418
}
421
419
422
- if (-not $AutoLint ) {
420
+ if ($NoAutoLint ) {
423
421
$params += " --no-auto-lint"
424
422
}
425
423
0 commit comments