package
0.0.0-20250312033235-bd4f568112dc
Repository: https://github.com/sourcegraph/src-cli.git
Documentation: pkg.go.dev

# Functions

NeedsSiteInit returns true if the instance hasn't done "Site admin init" step.
NewClient instantiates a new client by performing a GET request then obtains the CSRF token and cookie from its response, if there is one (old versions of Sourcegraph only).
SiteAdminInit initializes the instance with given admin account.

# Structs

Client is an authenticated client for a Sourcegraph user for doing e2e testing.