Metadata-Version: 2.4
Name: simpleArgParser
Version: 0.2.0
Summary: A simple typed argument parser using dataclasses and type hints. This project is largely generated by ChatGPT.
Home-page: https://github.com/Raibows/SimpleArgParser
Author: raibows
Author-email: raibows@hotmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-python
Dynamic: summary

# SimpleArgParser

## version log
1. v0.1.9
    - add disable_cmd option to parse_args

## Installation

```
pip install simpleArgParser
```

## Introduction

This is a simple command line argument parser encapsulated based on Python dataclasses and type hints, supporting:
- Defining arguments using classes (required, optional, and arguments with default values)
- Nested dataclasses, with argument names separated by dots
- JSON configuration file loading (priority: command line > code input > JSON config > default value)
- List type arguments (supports comma separation)
- Enum types (pass in the name of the enum member, and display options in the help)
- Custom post-processing (post_process method)

Detailed introduction is coming soon. Please also refer to `examples/example.py`.

## args order

重新排列一下参数显示的顺序：

1、首先显示required args
2、优先短的separate显示，就是xxx比xxx.xxx优先级高，xxxx.xxxx 比xxx.xxx.xxx优先级高
3、最后按照字母序排列
