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

Improved CLI #15

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Improved CLI #15

wants to merge 10 commits into from

Conversation

gchqdev227
Copy link
Member

This PR adds in a new decorator-based CLI (similar to Click) which removes the need for separating CLI functions from actual code. The logic behind the new CLI is quite verbose so will hopefully be easy to follow, but please let me know if things get confusing.

The logic behind parser help pages in particular are harder to parse (irony acknowledged!), but the associated test cases are sufficient to show how they fit together. I encourage you to try out the CLI help pages yourself to make sure.

I very much recommend that we do not squash these commits.

@gchqdev227 gchqdev227 self-assigned this Aug 20, 2024
…ter classes from inspect signatures for all supported versions of Python
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.

1 participant