|
[CmdletBinding(SupportsShouldProcess)]param(
|
|
[switch]$sudo,
|
|
[Parameter(Position = 0, ValueFromPipelineByPropertyName, ValueFromPipeline, ValueFromRemainingArguments = $true)]
|
|
[string[]]$Path
|
|
)
|
|
Edit-TextFile -sudo:$sudo -PreferredEditors "nvim","vim","vi" -Path $Path |