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

[FEATURE] Consider supporting/integration with pz (Python in Bash) #91

Open asterkin opened 2 years ago

asterkin commented 2 years ago

Is your feature request related to a problem? Please describe. pz has some cool features which might be useful

Describe the solution you'd like To be investigated; but DynaCLI runs as a Python package structure interpereter, what if, line with pz, I put a Python code snipet as one command line argument?

Describe alternatives you've considered Not exactly

Additional context It brings up a more general discussion of supporting an opne-end argument types framework (we decided not to it for the first version, but this decision is not final). So, if I def f(data: python) we could automatically interpret the "..." string a Python code and use results.