Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.