MCPcopy Create free account
hub / github.com/archlinux-de/pkgstats-cli / printConfigHelp

Function printConfigHelp

cmd/submit.go:108–122  ·  view source on GitHub ↗
(writer io.Writer)

Source from the content-addressed store, hash-verified

106}
107
108func printConfigHelp(writer io.Writer) {
109 fmt.Fprintln(writer, `You can configure blocklists for packages and mirrors by creating or editing /etc/pkgstats.yaml.
110Packages can be blocked by name, and mirrors by hostname. Both support glob patterns.
111You can verify your blocklist configuration by running "pkgstats submit --dump-json".
112
113Example configuration:
114
115blocklist:
116 packages:
117 - "secret-*"
118 - "*-debug"
119 mirrors:
120 - "mirror.example.com"
121 - "*.lan"`)
122}

Callers 1

newSubmitCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected