pydantic-argparse icon indicating copy to clipboard operation
pydantic-argparse copied to clipboard

Typed Argument Parsing with Pydantic

Results 5 pydantic-argparse issues
Sort by recently updated
recently updated
newest added

It would be nice to have the possibility to define in the `pydantic.BaseModel` Field definition the possible names for the cli arguments. It would be possible to have both: the...

enhancement

## Summary * As raised by @lucidfrontier45 in #48, we need Pydantic v2 support in `pydantic-argparse`. * We now have pseudo-Pydantic v2 support, as the `pydantic` dependency is at least...

enhancement

The automatic pydantic error messages are not very clear, so it would be nice if the developer could pass a function that produces nicer error messages for simple and plausible...

Hi great project! I was wondering if it is possible to implement something similar to the `argparse` packages `metavar` argument. I strongly prefer my arguments to specify what type should...

## Summary * As raised by @ericchansen in #34, `pydantic-argparse` should be able to piggy-back off `pydantic` and support loading environment variables from `.env` files. * This can probably be...

bug
enhancement