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] dynacli command/feature new #87

Open asterkin opened 2 years ago

asterkin commented 2 years ago

Is your feature request related to a problem? Please describe. I never remember exact format of command docstring

Describe the solution you'd like dynacli feature new dynacli feature mv dynacli feature rm dynacli command new **args dynacli command mv dynacli command rm

for nested commands/features consider using a dot notation, e.g. feature.command or blank to be consistent feature command (but that might be more tricky to process properly because of argparse limitations).

Describe alternatives you've considered The only alternative is to continue doing it manually which is error prone

Additional context dynacli tree to display feature/command tree

ShahriyarR commented 2 years ago

did not get the point, could you please clarify a bit?

asterkin commented 2 years ago

It's part brand preservation, part productivity. How do I introduce a new feature? mkdir -p , echo > /init.py. You automate it for me.