BstLabs / py-dynacli

DynaCLI is a cloud-friendly Python library for converting pure Python functions into Linux Shell commands.
https://bstlabs.github.io/py-dynacli/
MIT License
98 stars 5 forks source link

Implemented *args and **kwargs support for Enum type #77

Closed ShahriyarR closed 2 years ago

ShahriyarR commented 2 years ago

Change Summary

Added support for *args: Enum and **kwargs: Enum type

Description

Fixes #74

Type of change

Please delete options that are not relevant.

Checklist:

ShahriyarR commented 2 years ago

@asterkin please take a look here I have patched ArgumentParser's _check_value() method, added few more tests all are passed.