Revert "Load environment variables as a resolver (#480)"

This reverts commit 3cedc44821.

Fixes #497, #498
This commit is contained in:
Alec Thomas
2025-02-13 11:17:47 -08:00
parent 3cedc44821
commit 7747b4146b
3 changed files with 15 additions and 69 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ func New(grammar any, options ...Option) (*Kong, error) {
},
}
options = append(options, Bind(k), Resolvers(EnvResolver()))
options = append(options, Bind(k))
for _, option := range options {
if err := option.Apply(k); err != nil {