Skip to content

Commit ca94b46

Browse files
committed
docs: add PSGallery API key location to CLAUDE.md
1 parent e8bd342 commit ca94b46

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,12 @@ $script:ProtectedPaths = @(...) # Защищённые пути (никогд
123123
### Публикация в PSGallery
124124

125125
```powershell
126-
# API ключ хранится отдельно (не в репозитории!)
127-
Publish-PSResource -Path .\WinClean.ps1 -Repository PSGallery -ApiKey $key
126+
# API ключ хранится в переменной окружения PSGALLERY_API_KEY (User scope)
127+
Publish-PSResource -Path .\WinClean.ps1 -Repository PSGallery -ApiKey $env:PSGALLERY_API_KEY
128128
```
129129

130+
**Где хранится ключ:** переменная окружения `PSGALLERY_API_KEY` (User scope)
131+
130132
### Стиль кода
131133

132134
- Функции: `Verb-Noun` (PowerShell conventions)

0 commit comments

Comments
 (0)