Add WithIgnoreConfig option to skip CONFIGURATION auto-completion

This commit is contained in:
adman
2026-07-31 12:10:32 +02:00
parent d9543de951
commit 492dae8e83
+6
View File
@@ -188,6 +188,12 @@ func WithVersion(version string) func(ls *loginSettings) {
}
}
func WithIgnoreConfig() func(ls *loginSettings) {
return func(ls *loginSettings) {
ls.IgnoreConfig = true
}
}
type loginSettings struct {
NoDns bool
Ctx context.Context