package cmdconfig

Import Path
	golang.org/x/pkgsite/cmd/internal/cmdconfig (on go.dev)

Dependency Relation
	imports 15 packages, and imported by 2 packages

Involved Source Files Package cmdconfig contains functions for configuring commands.
Package-Level Functions (total 5, all are exported)
Experimenter configures a middleware.Experimenter.
ExperimentGetter returns an ExperimentGetter using the config.
Logger configures a middleware.Logger.
OpenDB opens the postgres database specified by the config. It first tries the main connection info (DBConnInfo), and if that fails, it uses backup connection info it if exists (DBSecondaryConnInfo).
ReportingClient configures an Error Reporting client.