Search Sourcegraph from PowerShell
Pretty formatting is supported for text, file and symbol results (type:file and type:symbol)
Install-Module PSSourcegraphSearch-Sourcegraphwith autocompletionDisable-SourcegraphRepositoryEnable-SourcegraphRepositoryGet-SourcegraphRepositoryGet-SourcegraphUserNew-SourcegraphUserInvoke-SourcegraphApiRequest
Missing something? Please file an issue!
You can configure a default endpoint and token to be used by modifying $PSDefaultParameterValues in your $PROFILE:
$PSDefaultParameterValues['*Sourcegraph*:Token'] = '5c01fd47a2b2187c2947f8a2eb76b358f3ed0e26'
$PSDefaultParameterValues['*Sourcegraph*:Endpoint'] = 'https://sourcegraph.example.com'
