Skip to content

Add generic CLI utility#51

Open
sochotnicky wants to merge 2 commits into
Elektordi:masterfrom
sochotnicky:add-cli
Open

Add generic CLI utility#51
sochotnicky wants to merge 2 commits into
Elektordi:masterfrom
sochotnicky:add-cli

Conversation

@sochotnicky
Copy link
Copy Markdown

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
Copy Markdown
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