When `parser.Parse()` fails, `kong.Configuration` is also not loaded
Aperta
- Lingua principale
- Go
- Stelle
- 3.2k
- Fork
- 188
- Merge medio
- 1g 1h
- PR unite (30g)
- 2
Descrizione
```go
var cli CLI
parser, err := kong.New(&cli, kong.Configuration(kongyaml.Loader, configFiles...))
parser.Parse("this will not parse")
```
after this wouldn't it make sense that ``cli`` at least contains values defined in the config file even if cli input had errors ?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.