File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,14 @@ RepoHerd resolves recursive dependencies across repository trees, supports both
166166Install-Module -Name RepoHerd
167167```
168168
169+ Then run from any directory containing a ` dependencies.json ` :
170+
171+ ``` powershell
172+ Invoke-RepoHerd
173+ Invoke-RepoHerd -InputFile "path/to/deps.json"
174+ Invoke-RepoHerd -DryRun
175+ ```
176+
169177### Manual download
170178
1711791 . Download ` RepoHerd.ps1 ` , ` RepoHerd.psm1 ` , and ` RepoHerd.psd1 ` to the same directory
@@ -186,16 +194,16 @@ In non-recursive mode, the script processes only the repositories listed in your
186194### Command Line Usage
187195
188196``` powershell
189- # Use default settings (recursive mode and intelligent tag sorting enabled by default)
190- .\RepoHerd.ps1
197+ # If installed from PowerShell Gallery, use Invoke-RepoHerd:
198+ Invoke-RepoHerd
199+ Invoke-RepoHerd -InputFile "C:\configs\myrepos.json" -CredentialsFile "C:\configs\my_credentials.json"
200+ Invoke-RepoHerd -EnableDebug
201+ Invoke-RepoHerd -DryRun
191202
192- # Specify custom JSON files
203+ # If using the script directly:
204+ .\RepoHerd.ps1
193205.\RepoHerd.ps1 -InputFile "C:\configs\myrepos.json" -CredentialsFile "C:\configs\my_credentials.json"
194-
195- # Enable debug logging
196206.\RepoHerd.ps1 -EnableDebug
197-
198- # Dry run mode (preview without changes)
199207.\RepoHerd.ps1 -DryRun
200208
201209# Verbose output
You can’t perform that action at this time.
0 commit comments