Haskell-etc icon indicating copy to clipboard operation
Haskell-etc copied to clipboard

Value of type bool always falls back to CLI and sets it to False if it hasn't been passed

Open nineonine opened this issue 3 years ago • 0 comments

If there is a value of type bool, the resolver would always try to read it from args passed via CLI. If it is not there, it would set it to False. This behaviour is undesirable if you wish to specify the value via configuration file.

Expected behaviour

  • The library is not trying to resolve the bool value in CLI args.
  • The library does not set the value to False if it was not found in CLI args.

nineonine avatar Nov 03 '20 17:11 nineonine