Metadata-Version: 2.3
Name: pydantic-argparse-next
Version: 1.0.2
Summary: Pydantic 2 argparse.
Keywords: pydantic,argparse,parser,argparser,cli
Author: oevergodofchaos
Author-email: vezonzzzzzz@gmail.com
Requires-Python: >=3.11
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: pydantic (>=2.11.3,<3.0.0)
Requires-Dist: rich (>=14.0.0,<15.0.0)
Project-URL: Documentation, https://github.com/overgodofchaos/pydantic-argparse-next
Project-URL: Homepage, https://github.com/overgodofchaos/pydantic-argparse-next
Project-URL: Repository, https://github.com/overgodofchaos/pydantic-argparse-next
Description-Content-Type: text/markdown

# pydantic-argparse-next

Argument parser based on pydantic v2.

### Install:

```bash
pip install pydantic-argparse-next
```

### Supports:

- [x] Positional arguments
  
  - [x] Required positional arguments
  
  - [x] Optional positional arguments

- [x] Keyword arguments
  
  - [x] Required keyword arguments
  
  - [x] Optional keyword arguments

- [x] Subcommands
  
  - [x] Required subcommands
  
  - [x] Optional subcommands
  
  - [x] Subcommands within subcommands

- [x] Actions
  
  - [x] Choice (And simple text and Enum object)
  
  - [x] Store True
  
  - [x] Store False
  
  - [x] Variadic arguments

- [ ] Extra
  
  - [ ] Easy saving config to file
  
  - [ ] Easy load config from file

### Docs and examples:

1. [Base usage](./docs/BaseUsage.md)

2. Actions
   
   1. [Choice](./docs/Choice.md)
   
   2. [Store True and Store False](./docs/StoreTrueFalse.md)
   
   3. [Subcommands](./docs/Subcommans.md)
   
   4. [Variadic](./docs/Variadic.md)

