Skip to content

Commit 18298d2

Browse files
committed
Add --skip-config to install.ps1 too (#145)
1 parent 0c35f15 commit 18298d2

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

install.ps1

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ $BaseUrl = if ($env:CBM_DOWNLOAD_URL) { $env:CBM_DOWNLOAD_URL } else { "https://
1515

1616
# Detect variant from args (--ui or --standard)
1717
$Variant = "standard"
18+
$SkipConfig = $false
1819
foreach ($arg in $args) {
1920
if ($arg -eq "--ui") { $Variant = "ui" }
2021
if ($arg -eq "--standard") { $Variant = "standard" }
22+
if ($arg -eq "--skip-config") { $SkipConfig = $true }
2123
if ($arg -like "--dir=*") { $InstallDir = $arg.Substring(6) }
2224
}
2325

@@ -121,13 +123,18 @@ try {
121123
}
122124

123125
# Configure agents
124-
Write-Host ""
125-
Write-Host "Configuring coding agents..."
126-
try {
127-
& $Dest install -y 2>&1 | Write-Host
128-
} catch {
129-
Write-Host "Agent configuration failed (non-fatal)."
130-
Write-Host "Run manually: codebase-memory-mcp install"
126+
if ($SkipConfig) {
127+
Write-Host ""
128+
Write-Host "Skipping agent configuration (--skip-config)"
129+
} else {
130+
Write-Host ""
131+
Write-Host "Configuring coding agents..."
132+
try {
133+
& $Dest install -y 2>&1 | Write-Host
134+
} catch {
135+
Write-Host "Agent configuration failed (non-fatal)."
136+
Write-Host "Run manually: codebase-memory-mcp install"
137+
}
131138
}
132139

133140
# Add to PATH (user scope, no admin needed)

0 commit comments

Comments
 (0)