https://github.com/yoctol/yoctol-argparse
https://github.com/yoctol/yoctol-argparse
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yoctol/yoctol-argparse
- Owner: Yoctol
- License: other
- Created: 2019-05-10T04:06:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-20T18:22:10.000Z (about 5 years ago)
- Last Synced: 2025-01-09T21:33:06.939Z (over 1 year ago)
- Language: Python
- Size: 77.1 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yoctol-argparse
[![travis][travis-image]][travis-url]
[![pypi][pypi-image]][pypi-url]
![release][release-image]
[travis-image]: https://img.shields.io/travis/Yoctol/yoctol-argparse.svg?style=flat
[travis-url]: https://travis-ci.org/Yoctol/yoctol-argparse
[pypi-image]: https://img.shields.io/pypi/v/yoctol-argparse.svg?style=flat
[pypi-url]: https://pypi.python.org/pypi/yoctol-argparse
[release-image]: https://img.shields.io/github/release/Yoctol/yoctol-argparse.svg
About this project...
## Installation
```bash
pip install yoctol-argparse
```
## Usage
main.py
```python
from yoctol_argparse import YoctolArgumentParser
parser = YoctolArgumentParser()
parser.add_argument('--fruit', choices=['apple', 'banana', 'lemon'])
```
## Test
```bash
make install-dev
make test
```