Add WithIgnoreConfig option to skip CONFIGURATION auto-completion
This commit is contained in:
@@ -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 {
|
type loginSettings struct {
|
||||||
NoDns bool
|
NoDns bool
|
||||||
Ctx context.Context
|
Ctx context.Context
|
||||||
|
|||||||
Reference in New Issue
Block a user