-
-
Notifications
You must be signed in to change notification settings - Fork 2
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 API for use as -X
program or -T
CLI tool
#10
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10 +/- ##
==========================================
- Coverage 90.56% 90.37% -0.19%
==========================================
Files 10 11 +1
Lines 742 821 +79
Branches 37 44 +7
==========================================
+ Hits 672 742 +70
- Misses 33 35 +2
- Partials 37 44 +7
Continue to review full report at Codecov.
|
There is not yet sufficient documentation for this change, but I think it's better to merge the change first than to stall here. |
It would be useful to be able to call some of the functions from the CLI via the
-X
/-T
options.This PR exposes the following two features as such an API:
render
: Renders the given templatecheck
: Checks one or more templates