3 matches across 2 files for error lang:Powershell lang:Powershell lang:Powershell lang:Powershell
snippet_mode: auto · sorted by relevance
11## If this is an exe, change fileType, silentArgs, and validExitCodes
12
13▶$ErrorActionPreference = 'Stop'; # stop on all errors
14$packageArgs = @{
15 packageName = $env:ChocolateyPackageName
6# 2. Follow the documentation below to learn how to create a package for the package type you are creating.
7# 3. In Chocolatey scripts, ALWAYS use absolute paths - $toolsDir gets you to the package's tools directory.
8▶$ErrorActionPreference = 'Stop'; # stop on all errors
9#Items that could be replaced based on what you call chocopkgup.exe with
10#{{PackageName}} - Package Name (should be same as nuspec file and folder) |/p
· · ·
75#Install-ChocolateyInstallPackage @packageArgs # https://chocolatey.org/docs/helpers-install-chocolatey-install-package
76
77▶## Main helper functions - these have error handling tucked into them already
78## see https://chocolatey.org/docs/helpers-reference
79
Search syntax
auth login | both terms (AND is implicit) |
auth OR login | either term |
NOT path:vendor | exclude matches |
"exact phrase" | quoted exact match |
/func\s+Test/ | regex |
handler~1 | fuzzy (Levenshtein 1) |
file:*_test.go | filename glob |
path:pkg/auth/** | full path glob |
lang:go | language filter |
Search any public repo from your terminal
This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.