...
1# Wrapper Script for Readme Verification
2[CmdletBinding()]
3param (
4 [Parameter(Mandatory = $true)]
5 [string]$DocWardenVersion,
6 [Parameter(Mandatory = $true)]
7 [string]$ScanPath,
8 [string]$RepoRoot,
9 [Parameter(Mandatory = $true)]
10 [string]$SettingsPath
11)
12
13pip install setuptools wheel --quiet
14pip install doc-warden==$DocWardenVersion --quiet
15
16if ($RepoRoot)
17{
18 ward scan -d $ScanPath -u $RepoRoot -c $SettingsPath
19}
20else
21{
22 ward scan -d $ScanPath -c $SettingsPath
23}
24
View as plain text