2 matches across 1 files for error lang:Powershell path:packages/chocolatey/tools/chocolateyinstall.ps1 lang:Powershell
snippet_mode: auto · sorted by relevance
packages/chocolatey/tools/chocolateyinstall.ps1 POWERSHELL 2 matches view file →
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 loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage 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.