SimpleParsing icon indicating copy to clipboard operation
SimpleParsing copied to clipboard

Simple, Elegant, Typed Argument Parsing with argparse

Results 76 SimpleParsing issues
Sort by recently updated
recently updated
newest added

I'm "enhancing" existing code and have to work with some of the more questionable choices when it comes to types. In this particular case, a field can be either `bool`...

bug
good first issue

This is a rough rewrite that wasn't fully tested, there's still a breakpoint lying in the code somewhere, but once cleaned up it should make things more efficient.

**Describe the bug** The current error prompt for the following code snippet is kinda unclear for what the error is. **To Reproduce** ```python from __future__ import annotations from simple_parsing import...

**Describe the bug** I am attempting to use subparsers and the config_path option together, however, I cannot seem to get the config path to actually set the defaults. I have...

It would be nice to somehow get a cleaner / more minimalist help output for programs that use the `subparsers` feature.

**Describe the bug** Using a config file to load default is not working when the config contains a list of enum as a field. **To Reproduce** ```python from dataclasses import...

**Is your feature request related to a problem? Please describe.** Despite looking quite mature (first release over 3 years old), all releases are still `0.0.x`, which means there's no guarantee...

**Describe the bug** Not exactly a bug, more of a behavioural question: For optional arguments such as in the reproduction section below, the default behaviour is to allow passing `--arg`...

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...