Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generic CLI utility #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sochotnicky
Copy link

This adds a basic CLI utility that uses introspection to get all
possible commands and enables running them from console.

It also provides way to specify complex JSON arguments if needed.

Fixes #46

This way we will be able to use __subclasses__() call in CLI
introspection code
@sochotnicky
Copy link
Author

FWIW, thankfully you have CI setup - I wrote the code with only Python 3 in mind. Fortunately the tweaks needed were minimal...

This adds a basic CLI utility that uses introspection to get all
possible commands and enables running them from console.

It also provides way to specify complex JSON arguments if needed.

Fixes Elektordi#46
@Elektordi Elektordi added this to the 0.6 milestone Dec 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CLI for basic requests
2 participants